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

Unified Diff: win8/viewer/metro_viewer_process_host.cc

Issue 301973003: Introduce IPC::ChannelProxy::Create*() and IPC::SynChannel::Create*() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing mac build 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
« no previous file with comments | « win8/metro_driver/chrome_app_view_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/viewer/metro_viewer_process_host.cc
diff --git a/win8/viewer/metro_viewer_process_host.cc b/win8/viewer/metro_viewer_process_host.cc
index 70b6b35a70015c2bb74cf6ad93565f2c3957580c..eaeaedfc8cca5372ff7d056e91fa500e1c342f55 100644
--- a/win8/viewer/metro_viewer_process_host.cc
+++ b/win8/viewer/metro_viewer_process_host.cc
@@ -51,11 +51,10 @@ MetroViewerProcessHost::MetroViewerProcessHost(
DCHECK(!instance_);
instance_ = this;
- channel_.reset(new IPC::ChannelProxy(
+ channel_ = IPC::ChannelProxy::CreateNamedServer(
kMetroViewerIPCChannelName,
- IPC::Channel::MODE_NAMED_SERVER,
this,
- ipc_task_runner));
+ ipc_task_runner);
}
MetroViewerProcessHost::~MetroViewerProcessHost() {
« no previous file with comments | « win8/metro_driver/chrome_app_view_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698