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

Side by Side Diff: src/trusted/plugin/utility.h

Issue 2981011: Move plugin/srpc contents to the more appropriately named plugin/common.... (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 10 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/trusted/plugin/string_encoding_test.cc ('k') | src/trusted/plugin/utility.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 /* 1 /*
2 * Copyright 2008 The Native Client Authors. All rights reserved. 2 * Copyright 2008 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be 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_SRPC_UTILITY_H_ 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_UTILITY_H_
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_UTILITY_H_ 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_UTILITY_H_
11 11
12 #include <setjmp.h> 12 #include <setjmp.h>
13 #include <signal.h> 13 #include <signal.h>
14 #include "native_client/src/include/nacl_macros.h" 14 #include "native_client/src/include/nacl_macros.h"
15 #include "native_client/src/include/portability.h" 15 #include "native_client/src/include/portability.h"
16 #include "native_client/src/shared/platform/nacl_threads.h" 16 #include "native_client/src/shared/platform/nacl_threads.h"
17 17
18 #define SRPC_PLUGIN_DEBUG 1 18 #define SRPC_PLUGIN_DEBUG 1
19 19
20 namespace plugin { 20 namespace plugin {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 fflush(stdout); \ 81 fflush(stdout); \
82 } \ 82 } \
83 } while (0) 83 } while (0)
84 #else 84 #else
85 # define PLUGIN_PRINTF(args) do { if (0) { printf args; } } while (0) 85 # define PLUGIN_PRINTF(args) do { if (0) { printf args; } } while (0)
86 /* allows DCE but compiler can still do format string checks */ 86 /* allows DCE but compiler can still do format string checks */
87 #endif 87 #endif
88 88
89 } // namespace plugin 89 } // namespace plugin
90 90
91 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_UTILITY_H_ 91 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_UTILITY_H_
OLDNEW
« no previous file with comments | « src/trusted/plugin/string_encoding_test.cc ('k') | src/trusted/plugin/utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698