OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "ppapi/shared_impl/unittest_utils.h" | 5 #include "ppapi/shared_impl/unittest_utils.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "base/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "ppapi/shared_impl/array_var.h" | 11 #include "ppapi/shared_impl/array_var.h" |
12 #include "ppapi/shared_impl/dictionary_var.h" | 12 #include "ppapi/shared_impl/dictionary_var.h" |
13 #include "ppapi/shared_impl/var.h" | 13 #include "ppapi/shared_impl/var.h" |
14 #include "ppapi/shared_impl/var_tracker.h" | 14 #include "ppapi/shared_impl/var_tracker.h" |
15 | 15 |
16 namespace ppapi { | 16 namespace ppapi { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 } | 157 } |
158 | 158 |
159 } // namespace | 159 } // namespace |
160 | 160 |
161 bool TestEqual(const PP_Var& expected, const PP_Var& actual) { | 161 bool TestEqual(const PP_Var& expected, const PP_Var& actual) { |
162 base::hash_map<int64_t, int64_t> visited_map; | 162 base::hash_map<int64_t, int64_t> visited_map; |
163 return Equals(expected, actual, &visited_map); | 163 return Equals(expected, actual, &visited_map); |
164 } | 164 } |
165 | 165 |
166 } // namespace ppapi | 166 } // namespace ppapi |
OLD | NEW |