Index: chrome/browser/plugins/plugin_info_message_filter.cc |
diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc |
index 9298723e258f3e60f2f72d99b474273728282c6a..8e4a119b4ee2844486a4065905eeb633473acb35 100644 |
--- a/chrome/browser/plugins/plugin_info_message_filter.cc |
+++ b/chrome/browser/plugins/plugin_info_message_filter.cc |
@@ -388,6 +388,7 @@ |
PluginMetadata::SecurityStatus plugin_status = |
plugin_metadata->GetSecurityStatus(plugin); |
+#if defined(ENABLE_PLUGIN_INSTALLATION) |
// Check if the plugin is outdated. |
if (plugin_status == PluginMetadata::SECURITY_STATUS_OUT_OF_DATE && |
!allow_outdated_plugins_.GetValue()) { |
@@ -398,7 +399,7 @@ |
} |
return; |
} |
- |
+#endif |
// Check if the plugin or its group is enabled by policy. |
PluginPrefs::PolicyStatus plugin_policy = |
plugin_prefs_->PolicyStatusForPlugin(plugin.name); |