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

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

Issue 1524613002: [mojo] Use base::Pickle for Message storage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: happy compiler happy robots Created 5 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
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_builder.cc ('k') | mojo/public/cpp/bindings/lib/pickle_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 97b96193ff6a2b6e5e7a7863652d926e5cf52432..8bc2e0da8a4d6b6113673e11724329a0c61c5ac1 100644
--- a/mojo/public/cpp/bindings/lib/message_internal.h
+++ b/mojo/public/cpp/bindings/lib/message_internal.h
@@ -35,13 +35,6 @@ struct MessageHeaderWithRequestID : MessageHeader {
static_assert(sizeof(MessageHeaderWithRequestID) == 32,
"Bad sizeof(MessageHeaderWithRequestID)");
-struct MessageData {
- MessageHeader header;
-};
-
-static_assert(sizeof(MessageData) == sizeof(MessageHeader),
- "Bad sizeof(MessageData)");
-
#pragma pack(pop)
} // namespace internal
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_builder.cc ('k') | mojo/public/cpp/bindings/lib/pickle_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698