Chromium Code Reviews| 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 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 352 | 352 |
| 353 // Whether we should produce an error if the manifest declares requirements | 353 // Whether we should produce an error if the manifest declares requirements |
| 354 // that are not met. If false and there is an unmet requirement, the install | 354 // that are not met. If false and there is an unmet requirement, the install |
| 355 // will continue but the extension will be distabled. | 355 // will continue but the extension will be distabled. |
| 356 bool error_on_unsupported_requirements_; | 356 bool error_on_unsupported_requirements_; |
| 357 | 357 |
| 358 scoped_ptr<RequirementsChecker> requirements_checker_; | 358 scoped_ptr<RequirementsChecker> requirements_checker_; |
| 359 | 359 |
| 360 bool has_requirement_errors_; | 360 bool has_requirement_errors_; |
| 361 | 361 |
| 362 // Shows a custom extension install dialog. | |
|
Nico
2012/10/02 05:11:00
Is the plan to eventually migrate everything to al
| |
| 363 ExtensionInstallPrompt::ShowDialogCallback custom_install_dialog_callback_; | |
| 364 | |
| 362 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); | 365 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); |
| 363 }; | 366 }; |
| 364 | 367 |
| 365 } // namespace extensions | 368 } // namespace extensions |
| 366 | 369 |
| 367 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ | 370 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ |
| OLD | NEW |