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_ARRAY_INTERNAL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ |
6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ |
7 | 7 |
8 #include <new> | 8 #include <new> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "third_party/mojo/src/mojo/public/c/system/macros.h" | 11 #include "mojo/public/c/system/macros.h" |
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/bindings_internal.h" | 12 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" |
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/bindings_serializati
on.h" | 13 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" |
14 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/bounds_checker.h" | 14 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" |
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/buffer.h" | 15 #include "mojo/public/cpp/bindings/lib/buffer.h" |
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/map_data_internal.h" | 16 #include "mojo/public/cpp/bindings/lib/map_data_internal.h" |
17 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/template_util.h" | 17 #include "mojo/public/cpp/bindings/lib/template_util.h" |
18 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/validate_params.h" | 18 #include "mojo/public/cpp/bindings/lib/validate_params.h" |
19 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/validation_errors.h" | 19 #include "mojo/public/cpp/bindings/lib/validation_errors.h" |
20 #include "third_party/mojo/src/mojo/public/cpp/environment/logging.h" | 20 #include "mojo/public/cpp/environment/logging.h" |
21 | 21 |
22 namespace mojo { | 22 namespace mojo { |
23 template <typename T> | 23 template <typename T> |
24 class Array; | 24 class Array; |
25 class String; | 25 class String; |
26 | 26 |
27 namespace internal { | 27 namespace internal { |
28 | 28 |
29 // std::numeric_limits<uint32_t>::max() is not a compile-time constant (until | 29 // std::numeric_limits<uint32_t>::max() is not a compile-time constant (until |
30 // C++11). | 30 // C++11). |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 }; | 524 }; |
525 | 525 |
526 template <> | 526 template <> |
527 struct WrapperTraits<String, false> { | 527 struct WrapperTraits<String, false> { |
528 typedef String_Data* DataType; | 528 typedef String_Data* DataType; |
529 }; | 529 }; |
530 | 530 |
531 } // namespace internal | 531 } // namespace internal |
532 } // namespace mojo | 532 } // namespace mojo |
533 | 533 |
534 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ | 534 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ |
OLD | NEW |