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

Side by Side Diff: ppapi/examples/threading/threading.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 4 years, 12 months 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/examples/stub/stub.cc ('k') | ppapi/examples/url_loader/stream_to_file.cc » ('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 <stdint.h>
6
5 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
6 #include "ppapi/cpp/input_event.h" 8 #include "ppapi/cpp/input_event.h"
7 #include "ppapi/cpp/instance.h" 9 #include "ppapi/cpp/instance.h"
8 #include "ppapi/cpp/module.h" 10 #include "ppapi/cpp/module.h"
9 #include "ppapi/utility/completion_callback_factory.h" 11 #include "ppapi/utility/completion_callback_factory.h"
10 #include "ppapi/utility/threading/simple_thread.h" 12 #include "ppapi/utility/threading/simple_thread.h"
11 13
12 class MyInstance : public pp::Instance { 14 class MyInstance : public pp::Instance {
13 public: 15 public:
14 MyInstance(PP_Instance instance) : pp::Instance(instance) { 16 MyInstance(PP_Instance instance) : pp::Instance(instance) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 }; 53 };
52 54
53 namespace pp { 55 namespace pp {
54 56
55 // Factory function for your specialization of the Module object. 57 // Factory function for your specialization of the Module object.
56 Module* CreateModule() { 58 Module* CreateModule() {
57 return new MyModule(); 59 return new MyModule();
58 } 60 }
59 61
60 } // namespace pp 62 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/examples/stub/stub.cc ('k') | ppapi/examples/url_loader/stream_to_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698