OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_NACL_HOST_NACL_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_BROWSER_H_ |
6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_H_ | 6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/file_util_proxy.h" | 9 #include "base/files/file_util_proxy.h" |
10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
13 #include "chrome/browser/nacl_host/nacl_validation_cache.h" | 13 #include "chrome/browser/nacl_host/nacl_validation_cache.h" |
14 | 14 |
15 class URLPattern; | 15 class URLPattern; |
16 class GURL; | 16 class GURL; |
17 | 17 |
18 // Represents shared state for all NaClProcessHost objects in the browser. | 18 // Represents shared state for all NaClProcessHost objects in the browser. |
19 class NaClBrowser { | 19 class NaClBrowser { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 bool ok_; | 126 bool ok_; |
127 | 127 |
128 // A list of pending tasks to start NaCl processes. | 128 // A list of pending tasks to start NaCl processes. |
129 std::vector<base::Closure> waiting_; | 129 std::vector<base::Closure> waiting_; |
130 | 130 |
131 DISALLOW_COPY_AND_ASSIGN(NaClBrowser); | 131 DISALLOW_COPY_AND_ASSIGN(NaClBrowser); |
132 }; | 132 }; |
133 | 133 |
134 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_H_ | 134 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_H_ |
OLD | NEW |