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

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

Issue 11783008: Add a lock to the managed user settings page and require authentication for unlocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add browser test for ManagedUserSetPassphraseOverlay Created 7 years, 11 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 bdcfea1a3df724f9939beb2b9cbcb145bbfad45f..8c8fbf493a03be42637a8cae75adbe1756cf1d45 100644
--- a/chrome/browser/managed_mode/managed_user_service.h
+++ b/chrome/browser/managed_mode/managed_user_service.h
@@ -34,6 +34,8 @@ class ManagedUserService : public ProfileKeyedService,
bool ProfileIsManaged() const;
+ bool IsElevated() const;
+
static void RegisterUserPrefs(PrefServiceSyncable* prefs);
// Returns the URL filter for the IO thread, for filtering network requests
@@ -75,7 +77,7 @@ class ManagedUserService : public ProfileKeyedService,
// Updates the whitelist and the blacklist from the prefs.
void UpdateManualLists();
- void SetElevatedForTesting(bool is_elevated);
+ void SetElevated(bool is_elevated);
// Initializes this object. This method does nothing if the profile is not
// managed. This method only needs to be called if the profile is set to be

Powered by Google App Engine
This is Rietveld 408576698