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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 7387010: Add PluginServiceFilter interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 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
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 0d4be7ffa69f492cdc8eea6be4e73b369b773059..982761a1dfab1c14ed2db39c5f54863321a9a2a0 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -20,6 +20,7 @@
#include "chrome/browser/browser_main.h"
#include "chrome/browser/browser_process_sub_thread.h"
#include "chrome/browser/browser_trial.h"
+#include "chrome/browser/chrome_plugin_service_filter.h"
#include "chrome/browser/debugger/devtools_protocol_handler.h"
#include "chrome/browser/debugger/remote_debugging_server.h"
#include "chrome/browser/download/download_file_manager.h"
@@ -715,7 +716,8 @@ void BrowserProcessImpl::CreateIOThread() {
// it is predominantly used from the io thread, but must be created
// on the main thread. The service ctor is inexpensive and does not
// invoke the io_thread() accessor.
- PluginService::GetInstance();
+ PluginService::GetInstance()->set_filter(
+ ChromePluginServiceFilter::GetInstance());
// Add the Chrome specific plugins.
chrome::RegisterInternalDefaultPlugin();
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | content/browser/renderer_host/buffered_resource_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698