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

Side by Side Diff: src/trusted/plugin/shared_memory.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/shared_memory.h ('k') | src/trusted/plugin/socket_address.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 <errno.h> 8 #include <errno.h>
9 #include <signal.h> 9 #include <signal.h>
10 #include <string.h> 10 #include <string.h>
11 11
12 #include "native_client/src/include/checked_cast.h" 12 #include "native_client/src/include/checked_cast.h"
13 #include "native_client/src/include/nacl_platform.h" 13 #include "native_client/src/include/nacl_platform.h"
14 14
15 #include "native_client/src/shared/imc/nacl_imc.h"
15 #include "native_client/src/shared/platform/nacl_host_desc.h" 16 #include "native_client/src/shared/platform/nacl_host_desc.h"
16 #include "native_client/src/shared/imc/nacl_imc.h"
17 17
18 #include "native_client/src/trusted/plugin/srpc/plugin.h" 18 #include "native_client/src/trusted/plugin/plugin.h"
19 #include "native_client/src/trusted/plugin/srpc/shared_memory.h" 19 #include "native_client/src/trusted/plugin/shared_memory.h"
20 #include "native_client/src/trusted/plugin/srpc/utility.h" 20 #include "native_client/src/trusted/plugin/utility.h"
21 21
22 #include "native_client/src/trusted/service_runtime/include/bits/mman.h" 22 #include "native_client/src/trusted/service_runtime/include/bits/mman.h"
23 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" 23 #include "native_client/src/trusted/service_runtime/include/sys/stat.h"
24 #include "native_client/src/trusted/service_runtime/internal_errno.h" 24 #include "native_client/src/trusted/service_runtime/internal_errno.h"
25 #include "native_client/src/trusted/service_runtime/sel_util.h" 25 #include "native_client/src/trusted/service_runtime/sel_util.h"
26 26
27 27
28 namespace { 28 namespace {
29 29
30 bool RpcRead(void* obj, plugin::SrpcParams* params) { 30 bool RpcRead(void* obj, plugin::SrpcParams* params) {
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 // plugin_->effp_, 289 // plugin_->effp_,
290 // addr_, 290 // addr_,
291 // size_); 291 // size_);
292 // } 292 // }
293 // TODO(sehr): is there a missing delete desc() here? 293 // TODO(sehr): is there a missing delete desc() here?
294 // TODO(gregoryd): in addition, should we unref the descriptor if it was 294 // TODO(gregoryd): in addition, should we unref the descriptor if it was
295 // constructed during the initialization of this object? 295 // constructed during the initialization of this object?
296 } 296 }
297 297
298 } // namespace plugin 298 } // namespace plugin
OLDNEW
« no previous file with comments | « src/trusted/plugin/shared_memory.h ('k') | src/trusted/plugin/socket_address.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698