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 NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_UTILITY_H_ | 9 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ |
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_UTILITY_H_ | 10 #define COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ |
11 | 11 |
12 #include "native_client/src/include/nacl_macros.h" | 12 #include "native_client/src/include/nacl_macros.h" |
13 #include "native_client/src/include/portability.h" | 13 #include "native_client/src/include/portability.h" |
14 #include "native_client/src/shared/platform/nacl_threads.h" | 14 #include "native_client/src/shared/platform/nacl_threads.h" |
15 #include "native_client/src/shared/platform/nacl_time.h" | 15 #include "native_client/src/shared/platform/nacl_time.h" |
16 #include "ppapi/c/private/pp_file_handle.h" | 16 #include "ppapi/c/private/pp_file_handle.h" |
17 #include "ppapi/c/private/ppb_nacl_private.h" | 17 #include "ppapi/c/private/ppb_nacl_private.h" |
18 | 18 |
19 #define SRPC_PLUGIN_DEBUG 1 | 19 #define SRPC_PLUGIN_DEBUG 1 |
20 | 20 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 } \ | 67 } \ |
68 } while (0) | 68 } while (0) |
69 #else | 69 #else |
70 # define PLUGIN_PRINTF(args) do { if (0) { printf args; } } while (0) | 70 # define PLUGIN_PRINTF(args) do { if (0) { printf args; } } while (0) |
71 # define MODULE_PRINTF(args) do { if (0) { printf args; } } while (0) | 71 # define MODULE_PRINTF(args) do { if (0) { printf args; } } while (0) |
72 /* allows DCE but compiler can still do format string checks */ | 72 /* allows DCE but compiler can still do format string checks */ |
73 #endif | 73 #endif |
74 | 74 |
75 } // namespace plugin | 75 } // namespace plugin |
76 | 76 |
77 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_UTILITY_H_ | 77 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ |
OLD | NEW |