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

Unified Diff: mojo/public/cpp/bindings/lib/message_internal.h

Issue 2114523002: Move more Mojo bindings helpers out of internal namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@group-controller
Patch Set: rebase Created 4 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: mojo/public/cpp/bindings/lib/message_internal.h
diff --git a/mojo/public/cpp/bindings/lib/message_internal.h b/mojo/public/cpp/bindings/lib/message_internal.h
index b4fd3347ee9c308d53d791a1ecee256fafe9ff21..63edffd7cbdbfff7be3b76cde15e42602c541737 100644
--- a/mojo/public/cpp/bindings/lib/message_internal.h
+++ b/mojo/public/cpp/bindings/lib/message_internal.h
@@ -14,12 +14,6 @@ namespace internal {
#pragma pack(push, 1)
-enum {
- kMessageExpectsResponse = 1 << 0,
- kMessageIsResponse = 1 << 1,
- kMessageIsSync = 1 << 2
-};
-
struct MessageHeader : internal::StructHeader {
// Interface ID for identifying multiple interfaces running on the same
// message pipe.
@@ -34,7 +28,7 @@ struct MessageHeader : internal::StructHeader {
static_assert(sizeof(MessageHeader) == 24, "Bad sizeof(MessageHeader)");
struct MessageHeaderWithRequestID : MessageHeader {
- // Only used if either kMessageExpectsResponse or kMessageIsResponse is set in
+ // Only used if either kFlagExpectsResponse or kFlagIsResponse is set in
// order to match responses with corresponding requests.
uint64_t request_id;
};
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_header_validator.cc ('k') | mojo/public/cpp/bindings/lib/multiplex_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698