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

Unified Diff: mojo/edk/system/channel_win.cc

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win release build. Created 3 years, 9 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 | « mojo/edk/system/channel_posix.cc ('k') | mojo/edk/system/core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel_win.cc
diff --git a/mojo/edk/system/channel_win.cc b/mojo/edk/system/channel_win.cc
index 232577ffece7ffdd80f7d1382361437c3279464b..c15df16bb1341308c6db89de41ceea9cbb7fa16c 100644
--- a/mojo/edk/system/channel_win.cc
+++ b/mojo/edk/system/channel_win.cc
@@ -350,9 +350,10 @@ class ChannelWin : public Channel,
// static
scoped_refptr<Channel> Channel::Create(
Delegate* delegate,
- ScopedPlatformHandle platform_handle,
+ ConnectionParams connection_params,
scoped_refptr<base::TaskRunner> io_task_runner) {
- return new ChannelWin(delegate, std::move(platform_handle), io_task_runner);
+ return new ChannelWin(delegate, connection_params.TakeChannelHandle(),
+ io_task_runner);
}
} // namespace edk
« no previous file with comments | « mojo/edk/system/channel_posix.cc ('k') | mojo/edk/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698