OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_INTERNAL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_INTERNAL_H_ |
6 #define MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_INTERNAL_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_INTERNAL_H_ |
7 | 7 |
8 #include "mojo/public/bindings/lib/bindings_internal.h" | 8 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 #pragma pack(push, 1) | 13 #pragma pack(push, 1) |
14 | 14 |
15 enum { | 15 enum { |
16 kMessageExpectsResponse = 1 << 0, | 16 kMessageExpectsResponse = 1 << 0, |
17 kMessageIsResponse = 1 << 1 | 17 kMessageIsResponse = 1 << 1 |
18 }; | 18 }; |
(...skipping 15 matching lines...) Expand all Loading... |
34 }; | 34 }; |
35 | 35 |
36 MOJO_COMPILE_ASSERT(sizeof(MessageData) == sizeof(MessageHeader), | 36 MOJO_COMPILE_ASSERT(sizeof(MessageData) == sizeof(MessageHeader), |
37 bad_sizeof_MessageData); | 37 bad_sizeof_MessageData); |
38 | 38 |
39 #pragma pack(pop) | 39 #pragma pack(pop) |
40 | 40 |
41 } // namespace internal | 41 } // namespace internal |
42 } // namespace mojo | 42 } // namespace mojo |
43 | 43 |
44 #endif // MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_INTERNAL_H_ | 44 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_INTERNAL_H_ |
OLD | NEW |