| 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_BROWSER_PNACL_HOST_H_ | 5 #ifndef COMPONENTS_NACL_BROWSER_PNACL_HOST_H_ |
| 6 #define COMPONENTS_NACL_BROWSER_PNACL_HOST_H_ | 6 #define COMPONENTS_NACL_BROWSER_PNACL_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/singleton.h" | 16 #include "base/memory/singleton.h" |
| 16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 18 #include "components/nacl/browser/nacl_file_host.h" | 19 #include "components/nacl/browser/nacl_file_host.h" |
| 19 #include "components/nacl/common/pnacl_types.h" | 20 #include "components/nacl/common/pnacl_types.h" |
| 20 #include "ipc/ipc_platform_file.h" | 21 #include "ipc/ipc_platform_file.h" |
| 21 | 22 |
| 22 namespace net { | 23 namespace net { |
| 23 class DrainableIOBuffer; | 24 class DrainableIOBuffer; |
| 24 } | 25 } |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 scoped_ptr<pnacl::PnaclTranslationCache> disk_cache_; | 178 scoped_ptr<pnacl::PnaclTranslationCache> disk_cache_; |
| 178 PendingTranslationMap pending_translations_; | 179 PendingTranslationMap pending_translations_; |
| 179 base::ThreadChecker thread_checker_; | 180 base::ThreadChecker thread_checker_; |
| 180 base::WeakPtrFactory<PnaclHost> weak_factory_; | 181 base::WeakPtrFactory<PnaclHost> weak_factory_; |
| 181 DISALLOW_COPY_AND_ASSIGN(PnaclHost); | 182 DISALLOW_COPY_AND_ASSIGN(PnaclHost); |
| 182 }; | 183 }; |
| 183 | 184 |
| 184 } // namespace pnacl | 185 } // namespace pnacl |
| 185 | 186 |
| 186 #endif // COMPONENTS_NACL_BROWSER_PNACL_HOST_H_ | 187 #endif // COMPONENTS_NACL_BROWSER_PNACL_HOST_H_ |
| OLD | NEW |