Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: ppapi/shared_impl/test_utils.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/shared_impl/test_globals.h ('k') | ppapi/shared_impl/thread_aware_callback.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/test_utils.h" 5 #include "ppapi/shared_impl/test_utils.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <cmath> 10 #include <cmath>
8 11
9 #include "base/containers/hash_tables.h" 12 #include "base/containers/hash_tables.h"
10 #include "base/logging.h" 13 #include "base/logging.h"
11 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_message.h"
12 #include "ppapi/shared_impl/array_var.h" 15 #include "ppapi/shared_impl/array_var.h"
13 #include "ppapi/shared_impl/dictionary_var.h" 16 #include "ppapi/shared_impl/dictionary_var.h"
14 #include "ppapi/shared_impl/resource_var.h" 17 #include "ppapi/shared_impl/resource_var.h"
15 #include "ppapi/shared_impl/var.h" 18 #include "ppapi/shared_impl/var.h"
16 #include "ppapi/shared_impl/var_tracker.h" 19 #include "ppapi/shared_impl/var_tracker.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 return Equals(expected, actual, test_string_references, &visited_map); 212 return Equals(expected, actual, test_string_references, &visited_map);
210 } 213 }
211 214
212 std::string StripTestPrefixes(const std::string& test_name) { 215 std::string StripTestPrefixes(const std::string& test_name) {
213 if (test_name.find("DISABLED_") == 0) 216 if (test_name.find("DISABLED_") == 0)
214 return test_name.substr(strlen("DISABLED_")); 217 return test_name.substr(strlen("DISABLED_"));
215 return test_name; 218 return test_name;
216 } 219 }
217 220
218 } // namespace ppapi 221 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/test_globals.h ('k') | ppapi/shared_impl/thread_aware_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698