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

Side by Side Diff: ppapi/tests/test_case.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/tests/test_case.h ('k') | ppapi/tests/test_char_set.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/tests/test_case.h" 5 #include "ppapi/tests/test_case.h"
6 6
7 #include <stddef.h>
7 #include <string.h> 8 #include <string.h>
8 9
9 #include <algorithm> 10 #include <algorithm>
10 #include <sstream> 11 #include <sstream>
11 12
12 #include "ppapi/cpp/core.h" 13 #include "ppapi/cpp/core.h"
13 #include "ppapi/cpp/module.h" 14 #include "ppapi/cpp/module.h"
14 #include "ppapi/tests/pp_thread.h" 15 #include "ppapi/tests/pp_thread.h"
15 #include "ppapi/tests/test_utils.h" 16 #include "ppapi/tests/test_utils.h"
16 #include "ppapi/tests/testing_instance.h" 17 #include "ppapi/tests/testing_instance.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 void (*thread_func)(void*), 249 void (*thread_func)(void*),
249 void* thread_param, 250 void* thread_param,
250 const PPB_Testing_Private* testing_interface) { 251 const PPB_Testing_Private* testing_interface) {
251 PP_Thread thread; 252 PP_Thread thread;
252 PP_CreateThread(&thread, thread_func, thread_param); 253 PP_CreateThread(&thread, thread_func, thread_param);
253 // Run a message loop so pepper calls can be dispatched. The background 254 // Run a message loop so pepper calls can be dispatched. The background
254 // thread will set result_ and make us Quit when it's done. 255 // thread will set result_ and make us Quit when it's done.
255 testing_interface->RunMessageLoop(instance_->pp_instance()); 256 testing_interface->RunMessageLoop(instance_->pp_instance());
256 PP_JoinThread(thread); 257 PP_JoinThread(thread);
257 } 258 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_case.h ('k') | ppapi/tests/test_char_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698