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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // Used to show the install dialog. | 142 // Used to show the install dialog. |
143 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback; | 143 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback; |
144 | 144 |
145 // The icon to use to display the extension while it is installing. | 145 // The icon to use to display the extension while it is installing. |
146 gfx::ImageSkia installing_icon; | 146 gfx::ImageSkia installing_icon; |
147 | 147 |
148 // A dummy extension created from |manifest|; | 148 // A dummy extension created from |manifest|; |
149 scoped_refptr<Extension> dummy_extension; | 149 scoped_refptr<Extension> dummy_extension; |
150 | 150 |
151 // Required minimum version. | 151 // Required minimum version. |
152 scoped_ptr<Version> minimum_version; | 152 scoped_ptr<base::Version> minimum_version; |
153 | 153 |
154 // Ephemeral apps (experimental) are not permanently installed in Chrome. | 154 // Ephemeral apps (experimental) are not permanently installed in Chrome. |
155 bool is_ephemeral; | 155 bool is_ephemeral; |
156 | 156 |
157 private: | 157 private: |
158 Approval(); | 158 Approval(); |
159 }; | 159 }; |
160 | 160 |
161 // Gets the Approval associated with the |download|, or NULL if there's none. | 161 // Gets the Approval associated with the |download|, or NULL if there's none. |
162 // Note that the Approval is owned by |download|. | 162 // Note that the Approval is owned by |download|. |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 std::list<SharedModuleInfo::ImportInfo> pending_modules_; | 249 std::list<SharedModuleInfo::ImportInfo> pending_modules_; |
250 // Total extension modules we need download and install (the main module and | 250 // Total extension modules we need download and install (the main module and |
251 // depedences). | 251 // depedences). |
252 int total_modules_; | 252 int total_modules_; |
253 bool download_started_; | 253 bool download_started_; |
254 }; | 254 }; |
255 | 255 |
256 } // namespace extensions | 256 } // namespace extensions |
257 | 257 |
258 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ | 258 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
OLD | NEW |