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

Side by Side Diff: components/nacl/renderer/plugin/srpc_client.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 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 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 representation of an SRPC connection. These can be either to the 7 // A representation of an SRPC connection. These can be either to the
8 // service runtime or to untrusted NaCl threads. 8 // service runtime or to untrusted NaCl threads.
9 9
10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CLIENT_H_ 10 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_SRPC_CLIENT_H_
11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CLIENT_H_ 11 #define COMPONENTS_NACL_RENDERER_PLUGIN_SRPC_CLIENT_H_
12 12
13 #include <map> 13 #include <map>
14 #include <string> 14 #include <string>
15 15
16 #include "components/nacl/renderer/plugin/utility.h"
16 #include "native_client/src/include/nacl_macros.h" 17 #include "native_client/src/include/nacl_macros.h"
17 #include "native_client/src/shared/srpc/nacl_srpc.h" 18 #include "native_client/src/shared/srpc/nacl_srpc.h"
18 #include "ppapi/native_client/src/trusted/plugin/utility.h"
19 19
20 namespace nacl { 20 namespace nacl {
21 class DescWrapper; 21 class DescWrapper;
22 } // namespace nacl 22 } // namespace nacl
23 23
24 namespace plugin { 24 namespace plugin {
25 25
26 class ErrorInfo; 26 class ErrorInfo;
27 class MethodInfo; 27 class MethodInfo;
28 class Plugin; 28 class Plugin;
(...skipping 29 matching lines...) Expand all
58 void GetMethods(); 58 void GetMethods();
59 typedef std::map<std::string, MethodInfo*> Methods; 59 typedef std::map<std::string, MethodInfo*> Methods;
60 Methods methods_; 60 Methods methods_;
61 NaClSrpcChannel srpc_channel_; 61 NaClSrpcChannel srpc_channel_;
62 bool srpc_channel_initialised_; 62 bool srpc_channel_initialised_;
63 NaClSrpcError last_error_; 63 NaClSrpcError last_error_;
64 }; 64 };
65 65
66 } // namespace plugin 66 } // namespace plugin
67 67
68 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CLIENT_H_ 68 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_SRPC_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698