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

Side by Side Diff: src/trusted/plugin/srpc_client.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/srpc/video_chrome.cc ('k') | src/trusted/plugin/srpc_client.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 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_SRPC_CLIENT_H_ 10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CLIENT_H_
11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_SRPC_CLIENT_H_ 11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CLIENT_H_
12 12
13 #include <map> 13 #include <map>
14 #include "native_client/src/include/nacl_macros.h" 14 #include "native_client/src/include/nacl_macros.h"
15 #include "native_client/src/trusted/plugin/srpc/utility.h" 15 #include "native_client/src/trusted/plugin/utility.h"
16 16
17 namespace plugin { 17 namespace plugin {
18 18
19 class ConnectedSocket; 19 class ConnectedSocket;
20 class MethodInfo; 20 class MethodInfo;
21 21
22 // SrpcClient represents an SRPC connection to a client. 22 // SrpcClient represents an SRPC connection to a client.
23 class SrpcClient { 23 class SrpcClient {
24 public: 24 public:
25 // Init is passed a ConnectedSocket. It performs service 25 // Init is passed a ConnectedSocket. It performs service
(...skipping 15 matching lines...) Expand all
41 NACL_DISALLOW_COPY_AND_ASSIGN(SrpcClient); 41 NACL_DISALLOW_COPY_AND_ASSIGN(SrpcClient);
42 void GetMethods(); 42 void GetMethods();
43 typedef std::map<uintptr_t, MethodInfo*> Methods; 43 typedef std::map<uintptr_t, MethodInfo*> Methods;
44 Methods methods_; 44 Methods methods_;
45 NaClSrpcChannel srpc_channel_; 45 NaClSrpcChannel srpc_channel_;
46 BrowserInterface* browser_interface_; 46 BrowserInterface* browser_interface_;
47 }; 47 };
48 48
49 } // namespace plugin 49 } // namespace plugin
50 50
51 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_SRPC_CLIENT_H_ 51 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CLIENT_H_
OLDNEW
« no previous file with comments | « src/trusted/plugin/srpc/video_chrome.cc ('k') | src/trusted/plugin/srpc_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698