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

Side by Side Diff: src/trusted/plugin/connected_socket.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/build.scons ('k') | src/trusted/plugin/connected_socket.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 // Portable representation of a scriptable connected socket. 7 // Portable representation of a scriptable connected socket.
8 8
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CONNECTED_SOCKET_H_ 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_CONNECTED_SOCKET_H_
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CONNECTED_SOCKET_H_ 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_CONNECTED_SOCKET_H_
11 11
12 #include <setjmp.h> 12 #include <setjmp.h>
13 #include "native_client/src/include/nacl_macros.h" 13 #include "native_client/src/include/nacl_macros.h"
14 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" 14 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h"
15 #include "native_client/src/trusted/plugin/srpc/desc_based_handle.h" 15 #include "native_client/src/trusted/plugin/desc_based_handle.h"
16 #include "native_client/src/trusted/plugin/srpc/utility.h" 16 #include "native_client/src/trusted/plugin/utility.h"
17 17
18 namespace plugin { 18 namespace plugin {
19 19
20 class Plugin; 20 class Plugin;
21 class ServiceRuntime; 21 class ServiceRuntime;
22 class SrpcClient; 22 class SrpcClient;
23 23
24 // ConnectedSocket represents a connected socket that results from loading 24 // ConnectedSocket represents a connected socket that results from loading
25 // a NativeClient module or doing a connect on a received descriptor 25 // a NativeClient module or doing a connect on a received descriptor
26 // (SocketAddress). 26 // (SocketAddress).
(...skipping 13 matching lines...) Expand all
40 private: 40 private:
41 NACL_DISALLOW_COPY_AND_ASSIGN(ConnectedSocket); 41 NACL_DISALLOW_COPY_AND_ASSIGN(ConnectedSocket);
42 ConnectedSocket(); 42 ConnectedSocket();
43 virtual ~ConnectedSocket(); 43 virtual ~ConnectedSocket();
44 bool Init(Plugin* plugin, nacl::DescWrapper* desc); 44 bool Init(Plugin* plugin, nacl::DescWrapper* desc);
45 SrpcClient* srpc_client_; 45 SrpcClient* srpc_client_;
46 }; 46 };
47 47
48 } // namespace plugin 48 } // namespace plugin
49 49
50 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_CONNECTED_SOCKET_H_ 50 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_CONNECTED_SOCKET_H_
OLDNEW
« no previous file with comments | « src/trusted/plugin/build.scons ('k') | src/trusted/plugin/connected_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698