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 | 5 |
| 6 #include <nacl/nacl_log.h> |
| 7 |
6 #include <stdint.h> | 8 #include <stdint.h> |
7 #include <stdio.h> | 9 #include <stdio.h> |
8 #include <stdlib.h> | 10 #include <stdlib.h> |
9 #include <string.h> | 11 #include <string.h> |
10 | 12 |
11 #include <cmath> | 13 #include <cmath> |
12 #include <limits> | 14 #include <limits> |
13 #include <string> | 15 #include <string> |
14 #include "native_client/src/include/nacl/nacl_inttypes.h" | 16 #include "native_client/src/include/nacl/nacl_inttypes.h" |
15 #include "native_client/src/shared/platform/nacl_log.h" | |
16 #include "native_client/src/shared/ppapi_proxy/utility.h" | 17 #include "native_client/src/shared/ppapi_proxy/utility.h" |
17 #include "ppapi/c/pp_bool.h" | 18 #include "ppapi/c/pp_bool.h" |
18 #include "ppapi/c/pp_errors.h" | 19 #include "ppapi/c/pp_errors.h" |
19 #include "ppapi/c/ppb_audio.h" | 20 #include "ppapi/c/ppb_audio.h" |
20 #include "ppapi/c/ppb_audio_config.h" | 21 #include "ppapi/c/ppb_audio_config.h" |
21 #include "ppapi/cpp/audio.h" | 22 #include "ppapi/cpp/audio.h" |
22 #include "ppapi/cpp/audio_config.h" | 23 #include "ppapi/cpp/audio_config.h" |
23 #include "ppapi/cpp/completion_callback.h" | 24 #include "ppapi/cpp/completion_callback.h" |
24 #include "ppapi/cpp/instance.h" | 25 #include "ppapi/cpp/instance.h" |
25 #include "ppapi/cpp/module.h" | 26 #include "ppapi/cpp/module.h" |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 312 |
312 namespace pp { | 313 namespace pp { |
313 | 314 |
314 // Factory function for your specialization of the Module object. | 315 // Factory function for your specialization of the Module object. |
315 Module* CreateModule() { | 316 Module* CreateModule() { |
316 NaClLogModuleInit(); | 317 NaClLogModuleInit(); |
317 return new MyModule(); | 318 return new MyModule(); |
318 } | 319 } |
319 | 320 |
320 } // namespace pp | 321 } // namespace pp |
OLD | NEW |