OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/files/scoped_file.h" | 15 #include "base/files/scoped_file.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/scoped_vector.h" | |
19 #include "base/memory/shared_memory.h" | 18 #include "base/memory/shared_memory.h" |
20 #include "base/pickle.h" | 19 #include "base/pickle.h" |
21 #include "base/synchronization/condition_variable.h" | 20 #include "base/synchronization/condition_variable.h" |
22 #include "base/synchronization/lock.h" | 21 #include "base/synchronization/lock.h" |
23 #include "base/task_runner.h" | 22 #include "base/task_runner.h" |
24 #include "ipc/ipc_listener.h" | 23 #include "ipc/ipc_listener.h" |
25 #include "ipc/ipc_platform_file.h" | 24 #include "ipc/ipc_platform_file.h" |
26 #include "ppapi/c/pp_stdint.h" | 25 #include "ppapi/c/pp_stdint.h" |
27 #include "ppapi/proxy/nacl_message_scanner.h" | 26 #include "ppapi/proxy/nacl_message_scanner.h" |
28 | 27 |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // To be accessed on the I/O thread (via task runner) only. | 229 // To be accessed on the I/O thread (via task runner) only. |
231 IOThreadData io_thread_data_; | 230 IOThreadData io_thread_data_; |
232 | 231 |
233 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter); | 232 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter); |
234 }; | 233 }; |
235 | 234 |
236 // Export TranslatePepperFileReadWriteOpenFlags for testing. | 235 // Export TranslatePepperFileReadWriteOpenFlags for testing. |
237 int TranslatePepperFileReadWriteOpenFlagsForTesting(int32_t pp_open_flags); | 236 int TranslatePepperFileReadWriteOpenFlagsForTesting(int32_t pp_open_flags); |
238 | 237 |
239 #endif // CHROME_NACL_NACL_IPC_ADAPTER_H_ | 238 #endif // CHROME_NACL_NACL_IPC_ADAPTER_H_ |
OLD | NEW |