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

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

Issue 664473005: Hide second 'Details' link on extensions page if App Info dialog used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Rebase Created 6 years, 2 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
« no previous file with comments | « chrome/browser/resources/extensions/extensions.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a6bbb70480233f7b09be24e1e527e45eaee55ede..6c0efebf3da8dd2ed0153db93fe22ee70e0a1d6e 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -929,6 +929,9 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData(
results.SetBoolean("incognitoAvailable", incognito_available);
results.SetBoolean("developerMode", developer_mode);
+ results.SetBoolean("enableExtensionInfoDialog",
+ ShouldDisplayExtensionInfoDialog());
+
// 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;
« no previous file with comments | « chrome/browser/resources/extensions/extensions.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698