OLD | NEW |
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 COMPONENTS_NACL_LOADER_NACL_IPC_ADAPTER_H_ |
6 #define CHROME_NACL_NACL_IPC_ADAPTER_H_ | 6 #define COMPONENTS_NACL_LOADER_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/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 // To be accessed on the I/O thread (via task runner) only. | 183 // To be accessed on the I/O thread (via task runner) only. |
184 IOThreadData io_thread_data_; | 184 IOThreadData io_thread_data_; |
185 | 185 |
186 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter); | 186 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter); |
187 }; | 187 }; |
188 | 188 |
189 // Export TranslatePepperFileReadWriteOpenFlags for testing. | 189 // Export TranslatePepperFileReadWriteOpenFlags for testing. |
190 int TranslatePepperFileReadWriteOpenFlagsForTesting(int32_t pp_open_flags); | 190 int TranslatePepperFileReadWriteOpenFlagsForTesting(int32_t pp_open_flags); |
191 | 191 |
192 #endif // CHROME_NACL_NACL_IPC_ADAPTER_H_ | 192 #endif // COMPONENTS_NACL_LOADER_NACL_IPC_ADAPTER_H_ |
OLD | NEW |