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

Unified Diff: mojo/edk/system/channel_endpoint_client.h

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 years 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_endpoint_client.h
diff --git a/mojo/edk/system/channel_endpoint_client.h b/mojo/edk/system/channel_endpoint_client.h
index 7a7d5b8044548a5128f610bed99af7acf72974a8..c758e9c5485e4533d158b930548fc42e19084475 100644
--- a/mojo/edk/system/channel_endpoint_client.h
+++ b/mojo/edk/system/channel_endpoint_client.h
@@ -38,8 +38,9 @@ class MOJO_SYSTEM_IMPL_EXPORT ChannelEndpointClient
// called by |Channel| when it receives a message for the |ChannelEndpoint|.
// (|port| is the value passed to |ChannelEndpoint|'s constructor as
// |client_port|.)
- virtual void OnReadMessage(unsigned port,
- scoped_ptr<MessageInTransit> message) = 0;
+ //
+ // This should return true if it accepted (and took ownership of) |message|.
+ virtual bool OnReadMessage(unsigned port, MessageInTransit* message) = 0;
// Called by |ChannelEndpoint| when the |Channel| is relinquishing its pointer
// to the |ChannelEndpoint| (and vice versa). After this is called,

Powered by Google App Engine
This is Rietveld 408576698