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

Unified Diff: chrome/browser/service_process/service_process_control.cc

Issue 1184523003: attachment broker wip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor comments. Created 5 years, 6 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/service_process/service_process_control.cc
diff --git a/chrome/browser/service_process/service_process_control.cc b/chrome/browser/service_process/service_process_control.cc
index be0455ee69eb92e5ad63ef972e463b3081372ab3..de292ea23845021b34eb236ec9b2dd183d53cd7f 100644
--- a/chrome/browser/service_process/service_process_control.cc
+++ b/chrome/browser/service_process/service_process_control.cc
@@ -25,6 +25,7 @@
#include "chrome/common/service_process_util.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/common/child_process_host.h"
using content::BrowserThread;
@@ -49,10 +50,9 @@ void ServiceProcessControl::ConnectInternal() {
// TODO(hclam): Handle error connecting to channel.
const IPC::ChannelHandle channel_id = GetServiceProcessChannel();
SetChannel(IPC::ChannelProxy::Create(
- channel_id,
- IPC::Channel::MODE_NAMED_CLIENT,
- this,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get()));
+ channel_id, IPC::Channel::MODE_NAMED_CLIENT, this,
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get(),
+ content::ChildProcessHost::GetAttachmentBroker()));
}
void ServiceProcessControl::SetChannel(scoped_ptr<IPC::ChannelProxy> channel) {
« no previous file with comments | « chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc ('k') | chrome/service/service_ipc_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698