summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_data_remover_impl.cc
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2015-06-17 16:27:07 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-17 23:28:25 +0000
commitf7f98882ff232dd35cb03c76b78a8b51bd6643a0 (patch)
tree9209ed04cfb3cc84a9c7af145ab7da60b514db2b /content/browser/plugin_data_remover_impl.cc
parent6275de5043c03bb01065b38e3fc4b5c245562f15 (diff)
downloadchromium_src-f7f98882ff232dd35cb03c76b78a8b51bd6643a0.zip
chromium_src-f7f98882ff232dd35cb03c76b78a8b51bd6643a0.tar.gz
chromium_src-f7f98882ff232dd35cb03c76b78a8b51bd6643a0.tar.bz2
Update content module for IPC attachment brokering.
This CL has no functional effect, although it stubs in necessary placeholders for IPC attachment brokering. The browser process now has access to a singleton AttachmentBroker* via content::ChildProcessHost::GetAttachmentBroker(). Child processes now have access to an AttachmentBroker* via content::ChildThread. Each instance of ChildThread creates an AttachmentBroker during Init(). BUG=493414 Review URL: https://codereview.chromium.org/1187153003 Cr-Commit-Position: refs/heads/master@{#334958}
Diffstat (limited to 'content/browser/plugin_data_remover_impl.cc')
-rw-r--r--content/browser/plugin_data_remover_impl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc
index 36cc23f..e192327 100644
--- a/content/browser/plugin_data_remover_impl.cc
+++ b/content/browser/plugin_data_remover_impl.cc
@@ -19,6 +19,7 @@
#include "content/common/plugin_process_messages.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/common/child_process_host.h"
#include "content/public/common/content_constants.h"
#include "content/public/common/pepper_plugin_info.h"
#include "ppapi/proxy/ppapi_messages.h"
@@ -226,7 +227,8 @@ class PluginDataRemoverImpl::Context
return;
DCHECK(!channel_.get());
- channel_ = IPC::Channel::CreateClient(handle, this);
+ channel_ = IPC::Channel::CreateClient(
+ handle, this, content::ChildProcessHost::GetAttachmentBroker());
if (!channel_->Connect()) {
NOTREACHED() << "Couldn't connect to plugin";
SignalDone();