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 COMPONENTS_NACL_LOADER_NACL_LISTENER_H_ | 5 #ifndef COMPONENTS_NACL_LOADER_NACL_LISTENER_H_ |
6 #define COMPONENTS_NACL_LOADER_NACL_LISTENER_H_ | 6 #define COMPONENTS_NACL_LOADER_NACL_LISTENER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <map> | 11 #include <map> |
9 #include <vector> | 12 #include <vector> |
10 | 13 |
| 14 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/shared_memory.h" | 16 #include "base/memory/shared_memory.h" |
13 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
14 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
| 19 #include "build/build_config.h" |
15 #include "components/nacl/common/nacl_types.h" | 20 #include "components/nacl/common/nacl_types.h" |
16 #include "components/nacl/loader/nacl_trusted_listener.h" | 21 #include "components/nacl/loader/nacl_trusted_listener.h" |
17 #include "ipc/ipc_listener.h" | 22 #include "ipc/ipc_listener.h" |
18 | 23 |
19 namespace IPC { | 24 namespace IPC { |
20 class AttachmentBrokerUnprivileged; | 25 class AttachmentBrokerUnprivileged; |
21 class SyncChannel; | 26 class SyncChannel; |
22 class SyncMessageFilter; | 27 class SyncMessageFilter; |
23 } | 28 } |
24 | 29 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 std::pair<IPC::PlatformFileForTransit, | 117 std::pair<IPC::PlatformFileForTransit, |
113 base::FilePath> > PrefetchedResourceFilesMap; | 118 base::FilePath> > PrefetchedResourceFilesMap; |
114 PrefetchedResourceFilesMap prefetched_resource_files_; | 119 PrefetchedResourceFilesMap prefetched_resource_files_; |
115 | 120 |
116 bool is_started_; | 121 bool is_started_; |
117 | 122 |
118 DISALLOW_COPY_AND_ASSIGN(NaClListener); | 123 DISALLOW_COPY_AND_ASSIGN(NaClListener); |
119 }; | 124 }; |
120 | 125 |
121 #endif // COMPONENTS_NACL_LOADER_NACL_LISTENER_H_ | 126 #endif // COMPONENTS_NACL_LOADER_NACL_LISTENER_H_ |
OLD | NEW |