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