| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // Used to show the install dialog. | 151 // Used to show the install dialog. |
| 152 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback; | 152 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback; |
| 153 | 153 |
| 154 // The icon to use to display the extension while it is installing. | 154 // The icon to use to display the extension while it is installing. |
| 155 gfx::ImageSkia installing_icon; | 155 gfx::ImageSkia installing_icon; |
| 156 | 156 |
| 157 // A dummy extension created from |manifest|; | 157 // A dummy extension created from |manifest|; |
| 158 scoped_refptr<Extension> dummy_extension; | 158 scoped_refptr<Extension> dummy_extension; |
| 159 | 159 |
| 160 // Required minimum version. | 160 // Required minimum version. |
| 161 scoped_ptr<base::Version> minimum_version; | 161 scoped_ptr<Version> minimum_version; |
| 162 | 162 |
| 163 // Ephemeral apps are transiently installed. | 163 // Ephemeral apps are transiently installed. |
| 164 bool is_ephemeral; | 164 bool is_ephemeral; |
| 165 | 165 |
| 166 // The authuser index required to download the item being installed. May be | 166 // The authuser index required to download the item being installed. May be |
| 167 // the empty string, in which case no authuser parameter is used. | 167 // the empty string, in which case no authuser parameter is used. |
| 168 std::string authuser; | 168 std::string authuser; |
| 169 | 169 |
| 170 private: | 170 private: |
| 171 Approval(); | 171 Approval(); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 std::list<SharedModuleInfo::ImportInfo> pending_modules_; | 285 std::list<SharedModuleInfo::ImportInfo> pending_modules_; |
| 286 // Total extension modules we need download and install (the main module and | 286 // Total extension modules we need download and install (the main module and |
| 287 // depedences). | 287 // depedences). |
| 288 int total_modules_; | 288 int total_modules_; |
| 289 bool download_started_; | 289 bool download_started_; |
| 290 }; | 290 }; |
| 291 | 291 |
| 292 } // namespace extensions | 292 } // namespace extensions |
| 293 | 293 |
| 294 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ | 294 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
| OLD | NEW |