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 a2972ec3fa83eb036e95fa4a744e9e92e4273dc9..1e961c6ee88415a4cb075b027aed5a4dd6890dac 100644 |
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
@@ -917,6 +917,10 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData( |
results.SetBoolean("incognitoAvailable", incognito_available); |
results.SetBoolean("developerMode", developer_mode); |
+ results.SetBoolean("enableExtensionInfoDialog", |
+ CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableExtensionInfoDialog)); |
+ |
// Promote the Chrome Apps & Extensions Developer Tools if they are not |
// installed and the user has not previously dismissed the warning. |
bool promote_apps_dev_tools = false; |