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

Side by Side Diff: ppapi/examples/audio/audio.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/examples/2d/scroll.cc ('k') | ppapi/examples/audio_encode/audio_encode.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 // Needed on Windows to get |M_PI| from math.h. 5 // Needed on Windows to get |M_PI| from math.h.
6 #ifdef _WIN32 6 #ifdef _WIN32
7 #define _USE_MATH_DEFINES 7 #define _USE_MATH_DEFINES
8 #endif 8 #endif
9 9
10 #include <math.h> 10 #include <math.h>
11 #include <stddef.h>
12 #include <stdint.h>
11 #include <stdlib.h> 13 #include <stdlib.h>
12 #include <string.h> 14 #include <string.h>
13 15
14 #include <limits> 16 #include <limits>
15 17
16 #include "ppapi/c/pp_errors.h" 18 #include "ppapi/c/pp_errors.h"
17 #include "ppapi/cpp/audio.h" 19 #include "ppapi/cpp/audio.h"
18 #include "ppapi/cpp/audio_config.h" 20 #include "ppapi/cpp/audio_config.h"
19 #include "ppapi/cpp/completion_callback.h" 21 #include "ppapi/cpp/completion_callback.h"
20 #include "ppapi/cpp/instance.h" 22 #include "ppapi/cpp/instance.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 }; 126 };
125 127
126 namespace pp { 128 namespace pp {
127 129
128 // Factory function for your specialization of the Module object. 130 // Factory function for your specialization of the Module object.
129 Module* CreateModule() { 131 Module* CreateModule() {
130 return new MyModule(); 132 return new MyModule();
131 } 133 }
132 134
133 } // namespace pp 135 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/examples/2d/scroll.cc ('k') | ppapi/examples/audio_encode/audio_encode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698