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

Unified Diff: content/child/child_thread_impl.cc

Issue 1260053003: Update contents to use attachment broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_refactor2
Patch Set: Created 5 years, 5 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/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index bb9ff52ada297b64abf090ce728a45c0b06e6416..e9a2ca0f3884cd5d7104ebdf16ec245e4eb24c74 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -53,7 +53,7 @@
#include "content/common/child_process_messages.h"
#include "content/common/in_process_child_thread_params.h"
#include "content/public/common/content_switches.h"
-#include "ipc/attachment_broker.h"
+#include "ipc/attachment_broker_unprivileged.h"
#include "ipc/ipc_logging.h"
#include "ipc/ipc_switches.h"
#include "ipc/ipc_sync_channel.h"
@@ -436,6 +436,8 @@ void ChildThreadImpl::Init(const Options& options) {
}
ConnectChannel(options.use_mojo_channel);
+ if (attachment_broker_)
+ attachment_broker_->set_sender(channel_.get());
int connection_timeout = kConnectionTimeoutS;
std::string connection_override =

Powered by Google App Engine
This is Rietveld 408576698