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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.cc

Issue 2529083002: Make extensions developer mode adhere to policy (Closed)
Patch Set: Guard against Preference not being found Created 4 years, 1 month 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/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index 22fafc834b40736b47e723da48a008a48ab1f54a..dd9344d4d1916d769f5bf93101dae79deb0bfcb7 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -276,6 +276,10 @@ void ExtensionSettingsHandler::GetLocalizedValues(
source->AddString("extensionCommandsRegular",
l10n_util::GetStringUTF16(IDS_EXTENSION_COMMANDS_NOT_GLOBAL));
source->AddString("ok", l10n_util::GetStringUTF16(IDS_OK));
+
+ // 'Bubble' text for the controlled-setting-indicator
+ source->AddString("controlledSettingPolicy",
Devlin 2016/11/28 17:34:01 prefix this with 'extensions' like the others. The
pmarko 2016/11/29 12:40:22 Done.
+ l10n_util::GetStringUTF16(IDS_OPTIONS_CONTROLLED_SETTING_POLICY));
}
void ExtensionSettingsHandler::DidStartNavigationToPendingEntry(

Powered by Google App Engine
This is Rietveld 408576698