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

Unified Diff: chrome/browser/ui/webui/plugins_ui.cc

Issue 1234223003: Enable checks for outdated plugins even when third-party plugin installation is not enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/plugins/plugin_info_message_filter.cc ('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/plugins_ui.cc
diff --git a/chrome/browser/ui/webui/plugins_ui.cc b/chrome/browser/ui/webui/plugins_ui.cc
index 9d5d8241d8bf49675e8fdbc9ef69fa2b7cde0246..147431604cd2f861febf6a7e7154ce92f213b5e6 100644
--- a/chrome/browser/ui/webui/plugins_ui.cc
+++ b/chrome/browser/ui/webui/plugins_ui.cc
@@ -458,12 +458,10 @@ void PluginsDOMHandler::PluginsLoaded(
group_data->SetString("description", active_plugin->desc);
group_data->SetString("version", active_plugin->version);
-#if defined(ENABLE_PLUGIN_INSTALLATION)
bool out_of_date = plugin_metadata->GetSecurityStatus(*active_plugin) ==
PluginMetadata::SECURITY_STATUS_OUT_OF_DATE;
group_data->SetBoolean("critical", out_of_date);
group_data->SetString("update_url", plugin_metadata->plugin_url().spec());
-#endif
std::string enabled_mode;
if (all_plugins_enabled_by_policy) {
« no previous file with comments | « chrome/browser/plugins/plugin_info_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698