| Index: content/child/child_thread_impl.cc
|
| diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
|
| index e166b19fa9c482f7dcd271540b6e71976f831819..bdbafcb077384240963567a3ff7b5d929ac7cd62 100644
|
| --- a/content/child/child_thread_impl.cc
|
| +++ b/content/child/child_thread_impl.cc
|
| @@ -56,8 +56,6 @@
|
| #include "content/public/common/mojo_channel_switches.h"
|
| #include "content/public/common/service_manager_connection.h"
|
| #include "content/public/common/service_names.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"
|
| @@ -424,8 +422,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());
|
| @@ -535,10 +531,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());
|
| -
|
| channel_->AddAssociatedInterface(
|
| base::Bind(&ChildThreadImpl::OnRouteProviderRequest,
|
| base::Unretained(this)));
|
| @@ -583,10 +575,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());
|
|
|
|
|