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_EXTENSIONS_CRX_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 class SkBitmap; | 30 class SkBitmap; |
31 struct WebApplicationInfo; | 31 struct WebApplicationInfo; |
32 | 32 |
33 namespace base { | 33 namespace base { |
34 class SequencedTaskRunner; | 34 class SequencedTaskRunner; |
35 } | 35 } |
36 | 36 |
37 namespace extensions { | 37 namespace extensions { |
38 class CrxInstallError; | 38 class CrxInstallError; |
39 class ExtensionUpdaterTest; | 39 class ExtensionUpdaterTest; |
40 class RequirementsChecker; | |
41 | 40 |
42 // This class installs a crx file into a profile. | 41 // This class installs a crx file into a profile. |
43 // | 42 // |
44 // Installing a CRX is a multi-step process, including unpacking the crx, | 43 // Installing a CRX is a multi-step process, including unpacking the crx, |
45 // validating it, prompting the user, and installing. Since many of these | 44 // validating it, prompting the user, and installing. Since many of these |
46 // steps must occur on the file thread, this class contains a copy of all data | 45 // steps must occur on the file thread, this class contains a copy of all data |
47 // necessary to do its job. (This also minimizes external dependencies for | 46 // necessary to do its job. (This also minimizes external dependencies for |
48 // easier testing). | 47 // easier testing). |
49 // | 48 // |
50 // Lifetime management: | 49 // Lifetime management: |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 439 |
441 // Performs requirements, policy and blacklist checks on the extension. | 440 // Performs requirements, policy and blacklist checks on the extension. |
442 ExtensionInstallChecker install_checker_; | 441 ExtensionInstallChecker install_checker_; |
443 | 442 |
444 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); | 443 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); |
445 }; | 444 }; |
446 | 445 |
447 } // namespace extensions | 446 } // namespace extensions |
448 | 447 |
449 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ | 448 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ |
OLD | NEW |