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

Unified Diff: extensions/common/extension.h

Issue 2054773002: Replace the WAS_INSTALLED_BY_CUSTODIAN creation flag with a pref (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing the build Created 4 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
« no previous file with comments | « chrome/browser/themes/theme_syncable_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 278a8c488bb30f4de4ea0ca92b198125151cb939..fc6579e18f596ab8dfc6037e97ac75a8c7607ed1 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -152,9 +152,8 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// also installed by Default (i.e. WAS_INSTALLED_BY_DEFAULT is also true).
WAS_INSTALLED_BY_OEM = 1 << 10,
- // |WAS_INSTALLED_BY_CUSTODIAN| means this extension was installed by the
- // custodian of a supervised user.
- WAS_INSTALLED_BY_CUSTODIAN = 1 << 11,
+ // DEPRECATED: WAS_INSTALLED_BY_CUSTODIAN is now stored as a pref instead.
+ // WAS_INSTALLED_BY_CUSTODIAN = 1 << 11,
// |MAY_BE_UNTRUSTED| indicates that this extension came from a potentially
// unsafe source (e.g., sideloaded from a local CRX file via the Windows
@@ -331,9 +330,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool was_installed_by_oem() const {
return (creation_flags_ & WAS_INSTALLED_BY_OEM) != 0;
}
- bool was_installed_by_custodian() const {
- return (creation_flags_ & WAS_INSTALLED_BY_CUSTODIAN) != 0;
- }
// Type-related queries.
bool is_app() const;
« no previous file with comments | « chrome/browser/themes/theme_syncable_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698