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

Unified Diff: extensions/common/extension.h

Issue 2004043002: Supervised Users Initiated Installs v2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kid_initiated_install
Patch Set: Style fix Created 4 years, 7 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: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 278a8c488bb30f4de4ea0ca92b198125151cb939..e387e8259e4db40731480f0007fb693000b1b4ac 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -65,7 +65,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// Reasons an extension may be disabled. These are used in histograms, so do
// not remove/reorder entries - only add at the end just before
// DISABLE_REASON_LAST (and update the shift value for it). Also remember to
- // update the enum listing in tools/metrics/histograms.xml.
+ // update the enum listing in tools/metrics/histograms/histograms.xml.
// Also carefully consider if your reason should sync to other devices, and if
// so, add it to kKnownSyncableDisableReasons in extension_sync_service.cc.
enum DisableReason {
@@ -86,9 +86,11 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Deprecated.
DISABLE_EXTERNAL_EXTENSION = 1 << 13, // External extensions might be
// disabled for user prompting.
- DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 14, // Doesn't meet minimum
- // version requirement.
- DISABLE_REASON_LAST = 1 << 15, // This should always be the last value
+ DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 14, // Doesn't meet minimum
+ // version requirement..
+ DISABLE_CUSTODIAN_APPROVAL_REQUIRED = 1 << 15, // Supervised user needs
+ // approval by custodian.
+ DISABLE_REASON_LAST = 1 << 16, // This should always be the last value
};
// A base class for parsed manifest data that APIs want to store on

Powered by Google App Engine
This is Rietveld 408576698