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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 685711ea0f5f02f1f2ab2a974f04dc5756098e47..519632fd9fd566eba01eb763ec3fee4172f5f617 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -1026,18 +1026,6 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
#if defined(ENABLE_PLUGINS)
PluginService* plugin_service = PluginService::GetInstance();
plugin_service->SetFilter(ChromePluginServiceFilter::GetInstance());
- plugin_service->StartWatchingPlugins();
-
-#if defined(OS_POSIX)
- // Also find plugins in a user-specific plugins dir,
- // e.g. ~/.config/chromium/Plugins.
- const base::CommandLine& cmd_line = *base::CommandLine::ForCurrentProcess();
- if (!cmd_line.HasSwitch(switches::kDisablePluginsDiscovery)) {
- base::FilePath user_data_dir;
- if (PathService::Get(chrome::DIR_USER_DATA, &user_data_dir))
- plugin_service->AddExtraPluginDir(user_data_dir.Append("Plugins"));
- }
-#endif
// Triggers initialization of the singleton instance on UI thread.
PluginFinder::GetInstance()->Init();

Powered by Google App Engine
This is Rietveld 408576698