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

Side by Side Diff: src/trusted/plugin/srt_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/srt_socket.h ('k') | src/trusted/plugin/stream_shm_buffer.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 <string.h> 8 #include <string.h>
9 9
10 #include "native_client/src/trusted/plugin/srpc/srt_socket.h" 10 #include "native_client/src/trusted/plugin/srt_socket.h"
11 11
12 #include "native_client/src/include/nacl_string.h" 12 #include "native_client/src/include/nacl_string.h"
13 #include "native_client/src/trusted/plugin/srpc/browser_interface.h" 13 #include "native_client/src/trusted/plugin/browser_interface.h"
14 #include "native_client/src/trusted/plugin/srpc/plugin.h" 14 #include "native_client/src/trusted/plugin/plugin.h"
15 #include "native_client/src/trusted/plugin/srpc/service_runtime.h" 15 #include "native_client/src/trusted/plugin/service_runtime.h"
16 #include "native_client/src/trusted/plugin/srpc/srpc_client.h" 16 #include "native_client/src/trusted/plugin/srpc_client.h"
17 #include "native_client/src/trusted/plugin/srpc/utility.h" 17 #include "native_client/src/trusted/plugin/utility.h"
18 18
19 namespace { 19 namespace {
20 20
21 // Not really constants. Do not modify. Use only after at least 21 // Not really constants. Do not modify. Use only after at least
22 // one SrtSocket instance has been constructed. 22 // one SrtSocket instance has been constructed.
23 uintptr_t kSetOriginIdent; 23 uintptr_t kSetOriginIdent;
24 uintptr_t kStartModuleIdent; 24 uintptr_t kStartModuleIdent;
25 uintptr_t kLogIdent; 25 uintptr_t kLogIdent;
26 uintptr_t kLoadModule; 26 uintptr_t kLoadModule;
27 uintptr_t kInitHandlePassing; 27 uintptr_t kInitHandlePassing;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 } 188 }
189 params.ins()[0]->u.ival = severity; 189 params.ins()[0]->u.ival = severity;
190 params.ins()[1]->u.sval = strdup(msg.c_str()); 190 params.ins()[1]->u.sval = strdup(msg.c_str());
191 bool rpc_result = (connected_socket()->Invoke(kLogIdent, 191 bool rpc_result = (connected_socket()->Invoke(kLogIdent,
192 METHOD_CALL, 192 METHOD_CALL,
193 &params)); 193 &params));
194 return rpc_result; 194 return rpc_result;
195 } 195 }
196 196
197 } // namespace plugin 197 } // namespace plugin
OLDNEW
« no previous file with comments | « src/trusted/plugin/srt_socket.h ('k') | src/trusted/plugin/stream_shm_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698