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

Unified Diff: extensions/browser/extension_prefs.h

Issue 384423002: [Canceled] Extensions: Add install_flags parameter to ManagementPolicy::UserMayLoad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update tests Created 6 years, 5 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/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index 4c6adf698cea0c45e5cd995292139c9fe9575fcc..c6c9df15e55327d03dcacc0de03c2cc618f5fe07 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -519,6 +519,10 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
// Returns true if the extension should not be synced.
bool DoNotSync(const std::string& extension_id) const;
+ // Returns the set of install flags set for the extension, i.e. a bitmask of
+ // extensions::InstallFlag.
+ int GetInstallFlags(const std::string& extension_id) const;
+
// Gets/sets the last launch time of an extension.
base::Time GetLastLaunchTime(const std::string& extension_id) const;
void SetLastLaunchTime(const std::string& extension_id,
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_service_unittest.cc ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698