blob: acda695c3e88b5a60af1d295e226267e8cb1ca89 [file] [log] [blame]
Avi Drissman4e1b7bc32022-09-15 14:03:501// Copyright 2019 The Chromium Authors
Aaron Colwell1325f842019-10-07 20:37:582// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CONTENT_BROWSER_CAN_COMMIT_STATUS_H_
6#define CONTENT_BROWSER_CAN_COMMIT_STATUS_H_
7
8namespace content {
9// Status type used by functions that check whether it is ok to commit
10// a particular combination of URL and Origin to a specific process.
11// It indicates that a commit is allowed or signals whether the URL or
12// origin prevented the commit.
13enum class CanCommitStatus {
14 CAN_COMMIT_ORIGIN_AND_URL,
15 CANNOT_COMMIT_ORIGIN,
16 CANNOT_COMMIT_URL
17};
18
19} // namespace content
20#endif // CONTENT_BROWSER_CAN_COMMIT_STATUS_H_