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

Unified Diff: trunk/src/chrome/service/service_ipc_server.cc

Issue 312553004: Revert 274310 "Introduce IPC::ChannelProxy::Create*() and IPC::S..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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: trunk/src/chrome/service/service_ipc_server.cc
===================================================================
--- trunk/src/chrome/service/service_ipc_server.cc (revision 274314)
+++ trunk/src/chrome/service/service_ipc_server.cc (working copy)
@@ -26,12 +26,13 @@
void ServiceIPCServer::CreateChannel() {
channel_.reset(NULL); // Tear down the existing channel, if any.
- channel_= IPC::SyncChannel::CreateNamedServer(
+ channel_.reset(new IPC::SyncChannel(
channel_handle_,
+ IPC::Channel::MODE_NAMED_SERVER,
this,
g_service_process->io_thread()->message_loop_proxy().get(),
true,
- g_service_process->shutdown_event());
+ g_service_process->shutdown_event()));
DCHECK(sync_message_filter_.get());
channel_->AddFilter(sync_message_filter_.get());
}

Powered by Google App Engine
This is Rietveld 408576698