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

Unified Diff: ipc/ipc_channel_nacl.cc

Issue 1206093002: Update ChannelReader to use AttachmentBroker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@attachment_broker3_listener
Patch Set: 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_channel_nacl.cc
diff --git a/ipc/ipc_channel_nacl.cc b/ipc/ipc_channel_nacl.cc
index 19a32891af1ab95f9393e2702f3082373f43fc4d..b7b2b389ec607316eab78f60f2f8e244ea2b6b06 100644
--- a/ipc/ipc_channel_nacl.cc
+++ b/ipc/ipc_channel_nacl.cc
@@ -350,7 +350,11 @@ ChannelNacl::ReadState ChannelNacl::ReadData(
return READ_SUCCEEDED;
}
-bool ChannelNacl::WillDispatchInputMessage(Message* msg) {
+bool ChannelNacl::ShouldDispatchInputMessage(Message* msg) {
+ return true;
+}
+
+bool ChannelNacl::GetNonBrokeredAttachments(Message* msg) {
uint16 header_fds = msg->header()->num_fds;
CHECK(header_fds == input_fds_.size());
if (header_fds == 0)

Powered by Google App Engine
This is Rietveld 408576698