OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 // A collection of debugging related interfaces. | 7 // A collection of debugging related interfaces. |
8 | 8 |
9 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ | 9 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ |
10 #define COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ | 10 #define COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ |
11 | 11 |
| 12 #include <stdint.h> |
| 13 |
12 #include "components/nacl/renderer/ppb_nacl_private.h" | 14 #include "components/nacl/renderer/ppb_nacl_private.h" |
13 #include "native_client/src/include/nacl_macros.h" | 15 #include "native_client/src/include/nacl_macros.h" |
14 #include "native_client/src/include/portability.h" | 16 #include "native_client/src/include/portability.h" |
15 #include "native_client/src/shared/platform/nacl_threads.h" | 17 #include "native_client/src/shared/platform/nacl_threads.h" |
16 #include "native_client/src/shared/platform/nacl_time.h" | 18 #include "native_client/src/shared/platform/nacl_time.h" |
17 #include "ppapi/c/private/pp_file_handle.h" | 19 #include "ppapi/c/private/pp_file_handle.h" |
18 | 20 |
19 #define SRPC_PLUGIN_DEBUG 1 | 21 #define SRPC_PLUGIN_DEBUG 1 |
20 | 22 |
21 namespace plugin { | 23 namespace plugin { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 } while (0) | 67 } while (0) |
66 #else | 68 #else |
67 # define PLUGIN_PRINTF(args) do { if (0) { printf args; } } while (0) | 69 # define PLUGIN_PRINTF(args) do { if (0) { printf args; } } while (0) |
68 # define MODULE_PRINTF(args) do { if (0) { printf args; } } while (0) | 70 # define MODULE_PRINTF(args) do { if (0) { printf args; } } while (0) |
69 /* allows DCE but compiler can still do format string checks */ | 71 /* allows DCE but compiler can still do format string checks */ |
70 #endif | 72 #endif |
71 | 73 |
72 } // namespace plugin | 74 } // namespace plugin |
73 | 75 |
74 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ | 76 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ |
OLD | NEW |