| 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 MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ |
| 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "mojo/public/cpp/bindings/lib/interface_id.h" | 10 #include "mojo/public/cpp/bindings/interface_id.h" |
| 11 #include "mojo/public/cpp/bindings/lib/template_util.h" | 11 #include "mojo/public/cpp/bindings/lib/template_util.h" |
| 12 #include "mojo/public/cpp/system/core.h" | 12 #include "mojo/public/cpp/system/core.h" |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 | 15 |
| 16 template <typename T> | 16 template <typename T> |
| 17 class Array; | 17 class Array; |
| 18 | 18 |
| 19 template <typename T> | 19 template <typename T> |
| 20 class AssociatedInterfacePtrInfo; | 20 class AssociatedInterfacePtrInfo; |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 template <typename T, MojomTypeCategory categories> | 282 template <typename T, MojomTypeCategory categories> |
| 283 struct BelongsTo { | 283 struct BelongsTo { |
| 284 static const bool value = | 284 static const bool value = |
| 285 static_cast<uint32_t>(MojomTypeTraits<T>::category & categories) != 0; | 285 static_cast<uint32_t>(MojomTypeTraits<T>::category & categories) != 0; |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 } // namespace internal | 288 } // namespace internal |
| 289 } // namespace mojo | 289 } // namespace mojo |
| 290 | 290 |
| 291 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ | 291 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDINGS_INTERNAL_H_ |
| OLD | NEW |