OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ |
6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ |
7 | 7 |
8 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/template_util.h" | 8 #include "mojo/public/cpp/bindings/lib/template_util.h" |
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h" | 9 #include "mojo/public/cpp/bindings/struct_ptr.h" |
10 #include "third_party/mojo/src/mojo/public/cpp/system/core.h" | 10 #include "mojo/public/cpp/system/core.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 template <typename T> | 15 template <typename T> |
16 class Array_Data; | 16 class Array_Data; |
17 | 17 |
18 #pragma pack(push, 1) | 18 #pragma pack(push, 1) |
19 | 19 |
20 struct StructHeader { | 20 struct StructHeader { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 typedef typename S::Data_* DataType; | 124 typedef typename S::Data_* DataType; |
125 }; | 125 }; |
126 template <typename S> | 126 template <typename S> |
127 struct WrapperTraits<S, true> { | 127 struct WrapperTraits<S, true> { |
128 typedef typename S::Data_* DataType; | 128 typedef typename S::Data_* DataType; |
129 }; | 129 }; |
130 | 130 |
131 } // namespace internal | 131 } // namespace internal |
132 } // namespace mojo | 132 } // namespace mojo |
133 | 133 |
134 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H
_ | 134 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ |
OLD | NEW |