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

Unified Diff: chrome/browser/plugin_service.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/about_flags.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_service.cc
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc
index 26c9a14612ea29ddeed22eb42129ea03b42ac14a..fb7561466236e9f7a38c359f9f9c6ae937ad3768 100644
--- a/chrome/browser/plugin_service.cc
+++ b/chrome/browser/plugin_service.cc
@@ -67,11 +67,6 @@ void PluginService::InitGlobalInstance(Profile* profile) {
// We first group the plugins and then figure out which groups to disable.
PluginUpdater::GetInstance()->DisablePluginGroupsFromPrefs(profile);
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableOutdatedPlugins)) {
- NPAPI::PluginList::Singleton()->DisableOutdatedPluginGroups();
- }
-
// Have Chrome plugins write their data to the profile directory.
GetInstance()->SetChromePluginDataDir(profile->GetPath());
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698