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

Side by Side Diff: chrome/nacl/nacl_ipc_adapter.h

Issue 12217023: NaCl: Remove use of nacl::DescWrapper from nacl_ipc_adapter.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DISALLOW_COPY_AND_ASSIGN Created 7 years, 10 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 | « no previous file | chrome/nacl/nacl_ipc_adapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_NACL_NACL_IPC_ADAPTER_H_ 5 #ifndef CHROME_NACL_NACL_IPC_ADAPTER_H_
6 #define CHROME_NACL_NACL_IPC_ADAPTER_H_ 6 #define CHROME_NACL_NACL_IPC_ADAPTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 12 matching lines...) Expand all
23 23
24 struct NaClDesc; 24 struct NaClDesc;
25 struct NaClImcTypedMsgHdr; 25 struct NaClImcTypedMsgHdr;
26 struct PP_Size; 26 struct PP_Size;
27 27
28 namespace IPC { 28 namespace IPC {
29 class Channel; 29 class Channel;
30 struct ChannelHandle; 30 struct ChannelHandle;
31 } 31 }
32 32
33 namespace nacl {
34 class DescWrapper;
35 }
36
37 namespace ppapi { 33 namespace ppapi {
38 class HostResource; 34 class HostResource;
39 } 35 }
40 36
41 // Adapts a Chrome IPC channel to an IPC channel that we expose to Native 37 // Adapts a Chrome IPC channel to an IPC channel that we expose to Native
42 // Client. This provides a mapping in both directions, so when IPC messages 38 // Client. This provides a mapping in both directions, so when IPC messages
43 // come in from another process, we rewrite them and allow them to be received 39 // come in from another process, we rewrite them and allow them to be received
44 // via a recvmsg-like interface in the NaCl code. When NaCl code calls sendmsg, 40 // via a recvmsg-like interface in the NaCl code. When NaCl code calls sendmsg,
45 // we implement that as sending IPC messages on the channel. 41 // we implement that as sending IPC messages on the channel.
46 // 42 //
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // To be accessed inside of lock_ only. 178 // To be accessed inside of lock_ only.
183 LockedData locked_data_; 179 LockedData locked_data_;
184 180
185 // To be accessed on the I/O thread (via task runner) only. 181 // To be accessed on the I/O thread (via task runner) only.
186 IOThreadData io_thread_data_; 182 IOThreadData io_thread_data_;
187 183
188 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter); 184 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter);
189 }; 185 };
190 186
191 #endif // CHROME_NACL_NACL_IPC_ADAPTER_H_ 187 #endif // CHROME_NACL_NACL_IPC_ADAPTER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/nacl/nacl_ipc_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698