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

Unified Diff: third_party/mojo/src/mojo/edk/system/message_in_transit.h

Issue 1019173002: Update mojo sdk to rev 7214b7ec7d27563b2666afad86cf1c5895c56c18 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep permission service alive if embedder drops requests Created 5 years, 9 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: third_party/mojo/src/mojo/edk/system/message_in_transit.h
diff --git a/third_party/mojo/src/mojo/edk/system/message_in_transit.h b/third_party/mojo/src/mojo/edk/system/message_in_transit.h
index 9b3d398d6f4703376b3c844070be4a4f18afa8a3..038a29281bc69688aa70c8a69cebebb2f485d6c4 100644
--- a/third_party/mojo/src/mojo/edk/system/message_in_transit.h
+++ b/third_party/mojo/src/mojo/edk/system/message_in_transit.h
@@ -44,22 +44,29 @@ class TransportData;
class MOJO_SYSTEM_IMPL_EXPORT MessageInTransit {
public:
typedef uint16_t Type;
- // Messages that are forwarded to endpoints.
- static const Type kTypeEndpoint = 0;
+ // Messages that are forwarded to endpoint clients.
+ static const Type kTypeEndpointClient = 0;
+ // Messages that are consumed by the |ChannelEndpoint|.
+ static const Type kTypeEndpoint = 1;
// Messages that are consumed by the |Channel|.
- static const Type kTypeChannel = 1;
+ static const Type kTypeChannel = 2;
// Messages that are consumed by the |RawChannel| (implementation).
- static const Type kTypeRawChannel = 2;
+ static const Type kTypeRawChannel = 3;
// |ConnectionManager| implementations also use |RawChannel|s.
// Messages sent to a |MasterConnectionManager|.
- static const Type kTypeConnectionManager = 3;
+ static const Type kTypeConnectionManager = 4;
// Messages sent by a |MasterConnectionManager| (all responses).
- static const Type kTypeConnectionManagerAck = 4;
+ static const Type kTypeConnectionManagerAck = 5;
typedef uint16_t Subtype;
+ // Subtypes for type |kTypeEndpointClient|:
+ // Message pipe or data pipe data (etc.).
+ static const Subtype kSubtypeEndpointClientData = 0;
+ // Data pipe: consumer -> producer message that data was consumed. Payload is
+ // |RemoteDataPipeAck|.
+ static const Subtype kSubtypeEndpointClientDataPipeAck = 1;
// Subtypes for type |kTypeEndpoint|:
- static const Subtype kSubtypeEndpointData = 0;
- static const Subtype kSubtypeEndpointDataPipeAck = 1;
+ // TODO(vtl): Nothing yet.
// Subtypes for type |kTypeChannel|:
static const Subtype kSubtypeChannelAttachAndRunEndpoint = 0;
static const Subtype kSubtypeChannelRemoveEndpoint = 1;

Powered by Google App Engine
This is Rietveld 408576698