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 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/containers/mru_cache.h" | 14 #include "base/containers/mru_cache.h" |
15 #include "base/files/file.h" | 15 #include "base/files/file.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/time/time.h" | 19 #include "base/time/time.h" |
20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
21 #include "components/nacl/browser/nacl_browser_delegate.h" | 21 #include "components/nacl/browser/nacl_browser_delegate.h" |
22 #include "components/nacl/browser/nacl_validation_cache.h" | 22 #include "components/nacl/browser/nacl_validation_cache.h" |
23 | 23 |
24 class URLPattern; | |
25 class GURL; | |
26 | |
27 namespace base { | 24 namespace base { |
28 class FileProxy; | 25 class FileProxy; |
29 } | 26 } |
30 | 27 |
31 namespace nacl { | 28 namespace nacl { |
32 | 29 |
33 static const int kGdbDebugStubPortUnknown = -1; | 30 static const int kGdbDebugStubPortUnknown = -1; |
34 static const int kGdbDebugStubPortUnused = 0; | 31 static const int kGdbDebugStubPortUnused = 0; |
35 | 32 |
36 // Open an immutable executable file that can be mmapped (or a read-only file). | 33 // Open an immutable executable file that can be mmapped (or a read-only file). |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 204 |
208 // Singletons get destroyed at shutdown. | 205 // Singletons get destroyed at shutdown. |
209 base::WeakPtrFactory<NaClBrowser> weak_factory_; | 206 base::WeakPtrFactory<NaClBrowser> weak_factory_; |
210 | 207 |
211 DISALLOW_COPY_AND_ASSIGN(NaClBrowser); | 208 DISALLOW_COPY_AND_ASSIGN(NaClBrowser); |
212 }; | 209 }; |
213 | 210 |
214 } // namespace nacl | 211 } // namespace nacl |
215 | 212 |
216 #endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_H_ | 213 #endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_H_ |
OLD | NEW |