| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |