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_NACL_BROWSER_H_ | 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_BROWSER_H_ |
6 #define COMPONENTS_NACL_BROWSER_NACL_BROWSER_H_ | 6 #define COMPONENTS_NACL_BROWSER_NACL_BROWSER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/containers/mru_cache.h" | 13 #include "base/containers/mru_cache.h" |
14 #include "base/files/file.h" | 14 #include "base/files/file.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
17 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
18 #include "base/time/time.h" | 19 #include "base/time/time.h" |
19 #include "build/build_config.h" | 20 #include "build/build_config.h" |
20 #include "components/nacl/browser/nacl_browser_delegate.h" | 21 #include "components/nacl/browser/nacl_browser_delegate.h" |
21 #include "components/nacl/browser/nacl_validation_cache.h" | 22 #include "components/nacl/browser/nacl_validation_cache.h" |
22 | 23 |
23 class URLPattern; | 24 class URLPattern; |
24 class GURL; | 25 class GURL; |
25 | 26 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 207 |
207 // Singletons get destroyed at shutdown. | 208 // Singletons get destroyed at shutdown. |
208 base::WeakPtrFactory<NaClBrowser> weak_factory_; | 209 base::WeakPtrFactory<NaClBrowser> weak_factory_; |
209 | 210 |
210 DISALLOW_COPY_AND_ASSIGN(NaClBrowser); | 211 DISALLOW_COPY_AND_ASSIGN(NaClBrowser); |
211 }; | 212 }; |
212 | 213 |
213 } // namespace nacl | 214 } // namespace nacl |
214 | 215 |
215 #endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_H_ | 216 #endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_H_ |
OLD | NEW |