Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index 3d26cbdf16d307efc26885afcc71b766b8eb3e46..72fd5c4b0beb53a6bb0534f7c642ea96123b0610 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -56,8 +56,6 @@ |
#include "content/public/common/content_switches.h" |
#include "content/public/common/mojo_channel_switches.h" |
#include "content/public/common/mojo_shell_connection.h" |
-#include "ipc/attachment_broker.h" |
-#include "ipc/attachment_broker_unprivileged.h" |
#include "ipc/ipc_channel_mojo.h" |
#include "ipc/ipc_logging.h" |
#include "ipc/ipc_platform_file.h" |
@@ -401,8 +399,6 @@ void ChildThreadImpl::Init(const Options& options) { |
IPC::Logging::GetInstance(); |
#endif |
- IPC::AttachmentBrokerUnprivileged::CreateBrokerIfNeeded(); |
- |
channel_ = |
IPC::SyncChannel::Create(this, ChildProcess::current()->io_task_runner(), |
ChildProcess::current()->GetShutDownEvent()); |
@@ -508,9 +504,6 @@ void ChildThreadImpl::Init(const Options& options) { |
channel_->AddFilter(startup_filter); |
} |
- IPC::AttachmentBroker* broker = IPC::AttachmentBroker::GetGlobal(); |
- if (broker && !broker->IsPrivilegedBroker()) |
- broker->RegisterBrokerCommunicationChannel(channel_.get()); |
ConnectChannel(options.use_mojo_channel, options.in_process_ipc_token); |
int connection_timeout = kConnectionTimeoutS; |
@@ -547,10 +540,6 @@ ChildThreadImpl::~ChildThreadImpl() { |
IPC::Logging::GetInstance()->SetIPCSender(NULL); |
#endif |
- IPC::AttachmentBroker* broker = IPC::AttachmentBroker::GetGlobal(); |
- if (broker && !broker->IsPrivilegedBroker()) |
- broker->DeregisterBrokerCommunicationChannel(channel_.get()); |
- |
channel_->RemoveFilter(histogram_message_filter_.get()); |
channel_->RemoveFilter(sync_message_filter_.get()); |