Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2790)

Unified Diff: chrome/browser/permissions/permission_result.h

Issue 2936003003: MD Settings: Set all content setting values in Site Details Javascript. (Closed)
Patch Set: Review comments, tests & cleanup. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/permissions/permission_result.h
diff --git a/chrome/browser/permissions/permission_result.h b/chrome/browser/permissions/permission_result.h
index 1173c4aeb5397b4807604acbf713c91f764b4879..0d500049abe5ad3bbdddfba41abd35ac537a40c7 100644
--- a/chrome/browser/permissions/permission_result.h
+++ b/chrome/browser/permissions/permission_result.h
@@ -26,6 +26,23 @@ enum class PermissionStatusSource {
// The status is the result of being blocked due to the user ignoring a
// permission prompt multiple times.
MULTIPLE_IGNORES,
+
+ // TODO(patricialor): The following PermissionStatusSources are not yet
+ // implemented.
+
+ // This origin is insecure, thus its access to some permissions has been
+ // restricted, such as camera, microphone, etc.
+ INSECURE_ORIGIN,
+
+ // The following two PermissionStatusSources are set for when the permission
+ // is being controlled for a individual origin, or are part of a group of
+ // origins controlled via a URL pattern, e.g. "https://*".
+
+ // Controlled by enterprise policy.
+ ENTERPRISE_POLICY,
+
+ // Controlled by an extension.
+ EXTENSION,
};
struct PermissionResult {

Powered by Google App Engine
This is Rietveld 408576698