OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_EXTENSIONS_PENDING_EXTENSION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_MANAGER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_MANAGER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 12 matching lines...) Expand all Loading... |
23 } | 23 } |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 class BrowserContext; | 26 class BrowserContext; |
27 } | 27 } |
28 | 28 |
29 FORWARD_DECLARE_TEST(ExtensionServiceTest, | 29 FORWARD_DECLARE_TEST(ExtensionServiceTest, |
30 UpdatePendingExtensionAlreadyInstalled); | 30 UpdatePendingExtensionAlreadyInstalled); |
31 | 31 |
32 namespace extensions { | 32 namespace extensions { |
33 class Extension; | |
34 class PendingExtensionManager; | 33 class PendingExtensionManager; |
35 | 34 |
36 class ExtensionUpdaterTest; | 35 class ExtensionUpdaterTest; |
37 void SetupPendingExtensionManagerForTest( | 36 void SetupPendingExtensionManagerForTest( |
38 int count, const GURL& update_url, | 37 int count, const GURL& update_url, |
39 PendingExtensionManager* pending_extension_manager); | 38 PendingExtensionManager* pending_extension_manager); |
40 | 39 |
41 // Class PendingExtensionManager manages the set of extensions which are | 40 // Class PendingExtensionManager manages the set of extensions which are |
42 // being installed or updated. In general, installation and updates take | 41 // being installed or updated. In general, installation and updates take |
43 // time, because they involve downloading, unpacking, and installing. | 42 // time, because they involve downloading, unpacking, and installing. |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 friend void SetupPendingExtensionManagerForTest( | 159 friend void SetupPendingExtensionManagerForTest( |
161 int count, const GURL& update_url, | 160 int count, const GURL& update_url, |
162 PendingExtensionManager* pending_extension_manager); | 161 PendingExtensionManager* pending_extension_manager); |
163 | 162 |
164 DISALLOW_COPY_AND_ASSIGN(PendingExtensionManager); | 163 DISALLOW_COPY_AND_ASSIGN(PendingExtensionManager); |
165 }; | 164 }; |
166 | 165 |
167 } // namespace extensions | 166 } // namespace extensions |
168 | 167 |
169 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_MANAGER_H_ | 168 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_MANAGER_H_ |
OLD | NEW |