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

Unified Diff: ipc/mojo/ipc_channel_mojo.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/mojo/ipc_channel_mojo.cc
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc
index 4b0916d25b98ee736b19fe2fba04d2d3b3deba3d..66d280d47f7dd6d0789a60da4fb97393d5d1bee2 100644
--- a/ipc/mojo/ipc_channel_mojo.cc
+++ b/ipc/mojo/ipc_channel_mojo.cc
@@ -524,7 +524,9 @@ MojoResult ChannelMojo::ReadFromMessageAttachmentSet(
attachment.get())->TakeHandle();
handles->push_back(handle.release().value());
} break;
- case MessageAttachment::TYPE_WIN_HANDLE:
+ case MessageAttachment::TYPE_BROKERABLE_ATTACHMENT:
+ // Brokerable attachments are handled by the AttachmentBroker so
+ // there's no need to do anything here.
NOTREACHED();
break;
}

Powered by Google App Engine
This is Rietveld 408576698