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

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

Issue 1753723003: Revert of [mojo-edk] Serialise windows handles into an "extra header" section. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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.cc ('k') | mojo/edk/system/channel_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel_posix.cc
diff --git a/mojo/edk/system/channel_posix.cc b/mojo/edk/system/channel_posix.cc
index 2576eacb221e89aacb9ebebbce77f36b0a7e3c43..8edafd9477003f48095b8b7396ab0701bf10ca52 100644
--- a/mojo/edk/system/channel_posix.cc
+++ b/mojo/edk/system/channel_posix.cc
@@ -134,18 +134,16 @@
ScopedPlatformHandleVectorPtr GetReadPlatformHandles(
size_t num_handles,
- const void* extra_header,
- size_t extra_header_size) override {
+ void** payload,
+ size_t* payload_size) override {
if (incoming_platform_handles_.size() < num_handles)
return nullptr;
-
ScopedPlatformHandleVectorPtr handles(
new PlatformHandleVector(num_handles));
for (size_t i = 0; i < num_handles; ++i) {
(*handles)[i] = incoming_platform_handles_.front();
incoming_platform_handles_.pop_front();
}
-
return handles;
}
« no previous file with comments | « mojo/edk/system/channel.cc ('k') | mojo/edk/system/channel_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698