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

Unified Diff: ipc/ipc_handle_win.cc

Issue 1188923003: Stub in more IPC attachment brokering functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the wireformat to use int32_t for HANDLE. Created 5 years, 6 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: ipc/ipc_handle_win.cc
diff --git a/ipc/ipc_handle_win.cc b/ipc/ipc_handle_win.cc
new file mode 100644
index 0000000000000000000000000000000000000000..da3b9bb6125dba3e65d0dcbf83902ee5248a5ffe
--- /dev/null
+++ b/ipc/ipc_handle_win.cc
@@ -0,0 +1,15 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ipc/ipc_handle_win.h"
+
+namespace IPC {
+
+HandleForTransit CreateHandleForTransit(HANDLE handle) {
+ HandleForTransit hft;
+ hft.handle = handle;
+ return hft;
+}
+
+} // namespace IPC
« ipc/brokerable_attachment.cc ('K') | « ipc/ipc_handle_win.h ('k') | ipc/ipc_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698