| 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_WEBSTORE_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 // Whether to skip the post install UI like the extension installed bubble. | 136 // Whether to skip the post install UI like the extension installed bubble. |
| 137 bool skip_post_install_ui; | 137 bool skip_post_install_ui; |
| 138 | 138 |
| 139 // Whether to skip the install dialog once the extension has been downloaded | 139 // Whether to skip the install dialog once the extension has been downloaded |
| 140 // and unpacked. One reason this can be true is that in the normal webstore | 140 // and unpacked. One reason this can be true is that in the normal webstore |
| 141 // installation, the dialog is shown earlier, before any download is done, | 141 // installation, the dialog is shown earlier, before any download is done, |
| 142 // so there's no need to show it again. | 142 // so there's no need to show it again. |
| 143 bool skip_install_dialog; | 143 bool skip_install_dialog; |
| 144 | 144 |
| 145 // Whether we should enable the launcher before installing the app. | |
| 146 bool enable_launcher; | |
| 147 | |
| 148 // Manifest check level for checking actual manifest against expected | 145 // Manifest check level for checking actual manifest against expected |
| 149 // manifest. | 146 // manifest. |
| 150 ManifestCheckLevel manifest_check_level; | 147 ManifestCheckLevel manifest_check_level; |
| 151 | 148 |
| 152 // Used to show the install dialog. | 149 // Used to show the install dialog. |
| 153 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback; | 150 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback; |
| 154 | 151 |
| 155 // The icon to use to display the extension while it is installing. | 152 // The icon to use to display the extension while it is installing. |
| 156 gfx::ImageSkia installing_icon; | 153 gfx::ImageSkia installing_icon; |
| 157 | 154 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 std::list<SharedModuleInfo::ImportInfo> pending_modules_; | 280 std::list<SharedModuleInfo::ImportInfo> pending_modules_; |
| 284 // Total extension modules we need download and install (the main module and | 281 // Total extension modules we need download and install (the main module and |
| 285 // depedences). | 282 // depedences). |
| 286 int total_modules_; | 283 int total_modules_; |
| 287 bool download_started_; | 284 bool download_started_; |
| 288 }; | 285 }; |
| 289 | 286 |
| 290 } // namespace extensions | 287 } // namespace extensions |
| 291 | 288 |
| 292 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ | 289 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
| OLD | NEW |