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_BUNDLE_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 // The authuser query parameter value which should be used with CRX download | 193 // The authuser query parameter value which should be used with CRX download |
194 // requests. May be empty. | 194 // requests. May be empty. |
195 std::string authuser_; | 195 std::string authuser_; |
196 | 196 |
197 // The display name of the user for which this install happens, in the case | 197 // The display name of the user for which this install happens, in the case |
198 // of delegated installs. Empty for regular installs. | 198 // of delegated installs. Empty for regular installs. |
199 std::string delegated_username_; | 199 std::string delegated_username_; |
200 | 200 |
201 // The desktop type of the browser. | 201 // The desktop type of the browser. |
202 chrome::HostDesktopType host_desktop_type_; | 202 ui::HostDesktopType host_desktop_type_; |
203 | 203 |
204 // The profile that the bundle should be installed in. | 204 // The profile that the bundle should be installed in. |
205 Profile* profile_; | 205 Profile* profile_; |
206 | 206 |
207 // The UI that shows the confirmation prompt. | 207 // The UI that shows the confirmation prompt. |
208 scoped_ptr<ExtensionInstallPrompt> install_ui_; | 208 scoped_ptr<ExtensionInstallPrompt> install_ui_; |
209 | 209 |
210 ApprovalCallback approval_callback_; | 210 ApprovalCallback approval_callback_; |
211 base::Closure install_callback_; | 211 base::Closure install_callback_; |
212 | 212 |
213 DISALLOW_COPY_AND_ASSIGN(BundleInstaller); | 213 DISALLOW_COPY_AND_ASSIGN(BundleInstaller); |
214 }; | 214 }; |
215 | 215 |
216 } // namespace extensions | 216 } // namespace extensions |
217 | 217 |
218 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ | 218 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ |
OLD | NEW |