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

Unified Diff: chrome/browser/managed_mode/managed_user_service.h

Issue 12288052: Add managed user lock/unlock button for the extensions page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/managed_mode/managed_user_service.h
diff --git a/chrome/browser/managed_mode/managed_user_service.h b/chrome/browser/managed_mode/managed_user_service.h
index 31fc53bc61c7eae059086115660973caa025b04a..bf8c20ff771f9d224fa910960869f5ea0ff3464d 100644
--- a/chrome/browser/managed_mode/managed_user_service.h
+++ b/chrome/browser/managed_mode/managed_user_service.h
@@ -39,6 +39,7 @@ class ManagedUserService : public ProfileKeyedService,
virtual ~ManagedUserService();
bool ProfileIsManaged() const;
+ bool IsElevated() const;
static void RegisterUserPrefs(PrefRegistrySyncable* registry);
@@ -76,7 +77,7 @@ class ManagedUserService : public ProfileKeyedService,
void SetManualBehaviorForURLs(const std::vector<GURL>& url,
ManualBehavior behavior);
- void SetElevatedForTesting(bool is_elevated);
+ void SetElevated(bool is_elevated);
// Initializes this object. This method does nothing if the profile is not
// managed.

Powered by Google App Engine
This is Rietveld 408576698