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

Side by Side Diff: src/trusted/plugin/connected_socket.cc

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/connected_socket.h ('k') | src/trusted/plugin/desc_based_handle.h » ('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 7
8 #include <signal.h> 8 #include <signal.h>
9 #include <string.h> 9 #include <string.h>
10 10
11 #include "native_client/src/shared/platform/nacl_sync.h" 11 #include "native_client/src/shared/platform/nacl_sync.h"
12 #include "native_client/src/shared/platform/nacl_threads.h" 12 #include "native_client/src/shared/platform/nacl_threads.h"
13
14 #include "native_client/src/trusted/desc/nacl_desc_imc.h" 13 #include "native_client/src/trusted/desc/nacl_desc_imc.h"
15 14
16 #include "native_client/src/trusted/plugin/srpc/connected_socket.h" 15 #include "native_client/src/trusted/plugin/connected_socket.h"
17 #include "native_client/src/trusted/plugin/srpc/plugin.h" 16 #include "native_client/src/trusted/plugin/plugin.h"
18 #include "native_client/src/trusted/plugin/srpc/srpc_client.h" 17 #include "native_client/src/trusted/plugin/srpc_client.h"
19 #include "native_client/src/trusted/plugin/srpc/utility.h" 18 #include "native_client/src/trusted/plugin/utility.h"
20 #include "native_client/src/trusted/plugin/npapi/video.h"
21 19
22 namespace { 20 namespace {
23 21
24 PLUGIN_JMPBUF socket_env; 22 PLUGIN_JMPBUF socket_env;
25 23
26 void SignalHandler(int value) { 24 void SignalHandler(int value) {
27 PLUGIN_PRINTF(("ConnectedSocket::SignalHandler()\n")); 25 PLUGIN_PRINTF(("ConnectedSocket::SignalHandler()\n"));
28 26
29 PLUGIN_LONGJMP(socket_env, value); 27 PLUGIN_LONGJMP(socket_env, value);
30 } 28 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 124
127 ConnectedSocket::~ConnectedSocket() { 125 ConnectedSocket::~ConnectedSocket() {
128 PLUGIN_PRINTF(("ConnectedSocket::~ConnectedSocket(%p)\n", 126 PLUGIN_PRINTF(("ConnectedSocket::~ConnectedSocket(%p)\n",
129 static_cast<void*>(this))); 127 static_cast<void*>(this)));
130 128
131 // Free the SRPC connection. 129 // Free the SRPC connection.
132 delete srpc_client_; 130 delete srpc_client_;
133 } 131 }
134 132
135 } // namespace plugin 133 } // namespace plugin
OLDNEW
« no previous file with comments | « src/trusted/plugin/connected_socket.h ('k') | src/trusted/plugin/desc_based_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698