| 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_ARRAY_INTERNAL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ |
| 6 #define 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 <string> | 9 #include <string> |
| 10 #include <type_traits> | 10 #include <type_traits> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "mojo/public/c/system/macros.h" | |
| 14 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" | 13 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" |
| 15 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" | 14 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" |
| 16 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" | 15 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" |
| 17 #include "mojo/public/cpp/bindings/lib/buffer.h" | 16 #include "mojo/public/cpp/bindings/lib/buffer.h" |
| 18 #include "mojo/public/cpp/bindings/lib/map_data_internal.h" | 17 #include "mojo/public/cpp/bindings/lib/map_data_internal.h" |
| 19 #include "mojo/public/cpp/bindings/lib/validate_params.h" | 18 #include "mojo/public/cpp/bindings/lib/validate_params.h" |
| 20 #include "mojo/public/cpp/bindings/lib/validation_errors.h" | 19 #include "mojo/public/cpp/bindings/lib/validation_errors.h" |
| 21 #include "mojo/public/cpp/environment/logging.h" | 20 #include "mojo/public/cpp/environment/logging.h" |
| 22 | 21 |
| 23 namespace mojo { | 22 namespace mojo { |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 | 531 |
| 533 template <> | 532 template <> |
| 534 struct WrapperTraits<String, false> { | 533 struct WrapperTraits<String, false> { |
| 535 typedef String_Data* DataType; | 534 typedef String_Data* DataType; |
| 536 }; | 535 }; |
| 537 | 536 |
| 538 } // namespace internal | 537 } // namespace internal |
| 539 } // namespace mojo | 538 } // namespace mojo |
| 540 | 539 |
| 541 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ | 540 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_ |
| OLD | NEW |