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

Unified Diff: chrome/browser/ui/webui/options/managed_user_settings_handler.cc

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: Rebase to ToT, add test for ManagedUserSettings page. 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/ui/webui/options/managed_user_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/managed_user_settings_handler.cc b/chrome/browser/ui/webui/options/managed_user_settings_handler.cc
index 0af71b88b3e3f4d9aab78df9fb74211cef3d1932..ba571b85ef649a01acfe885abf80309e44df2959 100644
--- a/chrome/browser/ui/webui/options/managed_user_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/managed_user_settings_handler.cc
@@ -37,6 +37,8 @@ void ManagedUserSettingsHandler::GetLocalizedValues(
DCHECK(localized_strings);
static OptionsStringResource resources[] = {
+ // Unlock the settings page to allow editing.
+ { "unlockSettings", IDS_UNLOCK_PASSPHRASE_BUTTON },
// Installed content packs.
{ "installedContentPacks", IDS_INSTALLED_CONTENT_PACKS_LABEL },
{ "getContentPacks", IDS_GET_CONTENT_PACKS_BUTTON },

Powered by Google App Engine
This is Rietveld 408576698