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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1739203004: Add support for Attachment Brokering of IPC::Channels on multiple threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows comiple error. Created 4 years, 10 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: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index e393673e44ba62ce6ddd97c410b8ba3aa24cb858..12a655407c19e8f2a2de2a017eeccfbfc074c00c 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -129,6 +129,7 @@
#include "content/common/site_isolation_policy.h"
#include "content/common/view_messages.h"
#include "content/public/browser/browser_context.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/navigator_connect_context.h"
#include "content/public/browser/notification_service.h"
@@ -738,7 +739,8 @@ bool RenderProcessHostImpl::Init() {
channel_ = CreateChannelProxy(channel_id);
#if USE_ATTACHMENT_BROKER
IPC::AttachmentBroker::GetGlobal()->RegisterCommunicationChannel(
- channel_.get());
+ channel_.get(), content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::IO));
#endif
// Setup the Mojo channel.
« no previous file with comments | « no previous file | content/common/child_process_host_impl.cc » ('j') | remoting/host/win/wts_session_process_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698