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

Side by Side Diff: components/nacl/renderer/plugin/utility.h

Issue 911463003: NaCl cleanup: Move ppb_nacl_private.h into components/nacl/renderer/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 months 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
OLDNEW
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 "components/nacl/renderer/ppb_nacl_private.h"
12 #include "native_client/src/include/nacl_macros.h" 13 #include "native_client/src/include/nacl_macros.h"
13 #include "native_client/src/include/portability.h" 14 #include "native_client/src/include/portability.h"
14 #include "native_client/src/shared/platform/nacl_threads.h" 15 #include "native_client/src/shared/platform/nacl_threads.h"
15 #include "native_client/src/shared/platform/nacl_time.h" 16 #include "native_client/src/shared/platform/nacl_time.h"
16 #include "ppapi/c/private/pp_file_handle.h" 17 #include "ppapi/c/private/pp_file_handle.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
21 namespace plugin { 21 namespace plugin {
22 22
23 // Tests that a string is a valid JavaScript identifier. According to the 23 // Tests that a string is a valid JavaScript identifier. According to the
24 // ECMAScript spec, this should be done in terms of unicode character 24 // ECMAScript spec, this should be done in terms of unicode character
25 // categories. For now, we are simply limiting identifiers to the ASCII 25 // categories. For now, we are simply limiting identifiers to the ASCII
26 // subset of that spec. If successful, it returns the length of the 26 // subset of that spec. If successful, it returns the length of the
27 // identifier in the location pointed to by length (if it is not NULL). 27 // identifier in the location pointed to by length (if it is not NULL).
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_ 77 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_UTILITY_H_
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/sel_ldr_launcher_chrome.h ('k') | components/nacl/renderer/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698