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

Unified Diff: content/common/child_process_host_impl.cc

Issue 2389193004: Always use ChannelMojo for content child processes. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « content/common/child_process_host_impl.h ('k') | content/common/in_process_child_thread_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_host_impl.cc
diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
index f03402823bdf160a01cdb4e041fb42348763644e..23c339f2aa1bb5078e6843b23beca7eacfb5325a 100644
--- a/content/common/child_process_host_impl.cc
+++ b/content/common/child_process_host_impl.cc
@@ -173,16 +173,6 @@ void ChildProcessHostImpl::CreateChannelMojo() {
DCHECK(initialized);
}
-std::string ChildProcessHostImpl::CreateChannel() {
- DCHECK(channel_id_.empty());
- channel_id_ = IPC::Channel::GenerateVerifiedChannelID(std::string());
- channel_ = IPC::Channel::CreateServer(channel_id_, this);
- if (!channel_ || !InitChannel())
- return std::string();
-
- return channel_id_;
-}
-
bool ChildProcessHostImpl::InitChannel() {
#if USE_ATTACHMENT_BROKER
DCHECK(base::MessageLoopForIO::IsCurrent());
« no previous file with comments | « content/common/child_process_host_impl.h ('k') | content/common/in_process_child_thread_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698