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

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 compile 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
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..fb7dbecf2e3025b5da58cff4305646302c22337b 100644
--- a/mojo/edk/system/channel_win.cc
+++ b/mojo/edk/system/channel_win.cc
@@ -350,9 +350,11 @@ class ChannelWin : public Channel,
// static
scoped_refptr<Channel> Channel::Create(
Delegate* delegate,
+ ConnectionParam connection_param,
ScopedPlatformHandle platform_handle,
Ken Rockot(use gerrit already) 2017/03/09 18:00:43 Gotta remove this line
Jay Civelli 2017/03/09 19:09:53 Done.
scoped_refptr<base::TaskRunner> io_task_runner) {
- return new ChannelWin(delegate, std::move(platform_handle), io_task_runner);
+ return new ChannelWin(delegate, connection_param.TakeChannelHandle(),
+ io_task_runner);
}
} // namespace edk

Powered by Google App Engine
This is Rietveld 408576698