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

Unified Diff: chrome/browser/plugin_updater.cc

Issue 5917001: Change the "Disable outdated plug-ins" lab to block them instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename command line switch and viewmsg Created 10 years 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/plugin_service.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_updater.cc
diff --git a/chrome/browser/plugin_updater.cc b/chrome/browser/plugin_updater.cc
index 63e5bb6e31b6b05de55a7db3fc463474ce73f030..40f3be1ec48c20c2e04b21a989f870a84cafeda7 100644
--- a/chrome/browser/plugin_updater.cc
+++ b/chrome/browser/plugin_updater.cc
@@ -273,12 +273,7 @@ void PluginUpdater::OnUpdatePreferences(
// Add the groups as well.
for (size_t i = 0; i < groups.size(); ++i) {
- // Don't save preferences for vulnerable pugins.
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableOutdatedPlugins) ||
- !groups[i].IsVulnerable()) {
- plugins_list->Append(groups[i].GetSummary());
- }
+ plugins_list->Append(groups[i].GetSummary());
}
}
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698