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

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

Issue 220243007: Mojo: Move mojo/public/bindings/lib to mojo/public/cpp/bindings/lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « mojo/public/bindings/lib/message_builder.cc ('k') | mojo/public/bindings/lib/message_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/lib/message_internal.h
diff --git a/mojo/public/bindings/lib/message_internal.h b/mojo/public/bindings/lib/message_internal.h
deleted file mode 100644
index f238bb2f100899f81f04b6e9ee0eb636ed0d0773..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/lib/message_internal.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_INTERNAL_H_
-#define MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_INTERNAL_H_
-
-#include "mojo/public/bindings/lib/bindings_internal.h"
-
-namespace mojo {
-namespace internal {
-
-#pragma pack(push, 1)
-
-enum {
- kMessageExpectsResponse = 1 << 0,
- kMessageIsResponse = 1 << 1
-};
-
-struct MessageHeader : internal::StructHeader {
- uint32_t name;
- uint32_t flags;
-};
-MOJO_COMPILE_ASSERT(sizeof(MessageHeader) == 16, bad_sizeof_MessageHeader);
-
-struct MessageHeaderWithRequestID : MessageHeader {
- uint64_t request_id;
-};
-MOJO_COMPILE_ASSERT(sizeof(MessageHeaderWithRequestID) == 24,
- bad_sizeof_MessageHeaderWithRequestID);
-
-struct MessageData {
- MessageHeader header;
-};
-
-MOJO_COMPILE_ASSERT(sizeof(MessageData) == sizeof(MessageHeader),
- bad_sizeof_MessageData);
-
-#pragma pack(pop)
-
-} // namespace internal
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_INTERNAL_H_
« no previous file with comments | « mojo/public/bindings/lib/message_builder.cc ('k') | mojo/public/bindings/lib/message_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698