OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_VALUE_TRAITS_H_ | 5 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_VALUE_TRAITS_H_ |
6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_VALUE_TRAITS_H_ | 6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_VALUE_TRAITS_H_ |
7 | 7 |
8 #include "mojo/public/cpp/bindings/lib/template_util.h" | 8 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/template_util.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 | 11 |
12 template <typename T> | 12 template <typename T> |
13 class Array; | 13 class Array; |
14 | 14 |
15 template <typename T> | 15 template <typename T> |
16 class AssociatedInterfacePtrInfo; | 16 class AssociatedInterfacePtrInfo; |
17 | 17 |
18 template <typename T> | 18 template <typename T> |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 // Now that |a| and |b| refer to different objects, they are equivalent if | 99 // Now that |a| and |b| refer to different objects, they are equivalent if |
100 // and only if they are both invalid. | 100 // and only if they are both invalid. |
101 return !a.is_valid() && !b.is_valid(); | 101 return !a.is_valid() && !b.is_valid(); |
102 } | 102 } |
103 }; | 103 }; |
104 | 104 |
105 } // namespace internal | 105 } // namespace internal |
106 } // namespace mojo | 106 } // namespace mojo |
107 | 107 |
108 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_VALUE_TRAITS_H_ | 108 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_VALUE_TRAITS_H_ |
OLD | NEW |