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

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

Issue 876483002: NaCl: Move src/trusted/plugin/ to components/nacl/renderer/plugin/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update #include guards 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 // 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 // Parameter types for SRPC Invocation. 5 // Parameter types for SRPC Invocation.
6 6
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PARAMS_H 7 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_SRPC_PARAMS_H
8 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PARAMS_H 8 #define COMPONENTS_NACL_RENDERER_PLUGIN_SRPC_PARAMS_H
9 9
10 #include "native_client/src/include/nacl_macros.h" 10 #include "native_client/src/include/nacl_macros.h"
11 #include "native_client/src/include/portability_string.h" 11 #include "native_client/src/include/portability_string.h"
12 #include "native_client/src/shared/srpc/nacl_srpc.h" 12 #include "native_client/src/shared/srpc/nacl_srpc.h"
13 13
14 namespace plugin { 14 namespace plugin {
15 15
16 // A utility class that builds and deletes parameter vectors used in rpcs. 16 // A utility class that builds and deletes parameter vectors used in rpcs.
17 class SrpcParams { 17 class SrpcParams {
18 public: 18 public:
(...skipping 21 matching lines...) Expand all
40 NACL_DISALLOW_COPY_AND_ASSIGN(SrpcParams); 40 NACL_DISALLOW_COPY_AND_ASSIGN(SrpcParams);
41 void FreeAll(); 41 void FreeAll();
42 // The ins_ and outs_ arrays contain one more element, to hold a NULL pointer 42 // The ins_ and outs_ arrays contain one more element, to hold a NULL pointer
43 // to indicate the end of the list. 43 // to indicate the end of the list.
44 NaClSrpcArg* ins_[NACL_SRPC_MAX_ARGS + 1]; 44 NaClSrpcArg* ins_[NACL_SRPC_MAX_ARGS + 1];
45 NaClSrpcArg* outs_[NACL_SRPC_MAX_ARGS + 1]; 45 NaClSrpcArg* outs_[NACL_SRPC_MAX_ARGS + 1];
46 }; 46 };
47 47
48 } // namespace plugin 48 } // namespace plugin
49 49
50 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PARAMS_H 50 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_SRPC_PARAMS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698