| 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 // This file contains the declarations of the installer functions that build | 5 // This file contains the declarations of the installer functions that build |
| 6 // the WorkItemList used to install the application. | 6 // the WorkItemList used to install the application. |
| 7 | 7 |
| 8 #ifndef CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 8 #ifndef CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
| 9 #define CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 9 #define CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
| 10 | 10 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // Adds work items to add or remove the "query-eula-acceptance" command to | 183 // Adds work items to add or remove the "query-eula-acceptance" command to |
| 184 // |product|'s version key on the basis of the current operation (represented | 184 // |product|'s version key on the basis of the current operation (represented |
| 185 // in |installer_state|). |new_version| is the version of the product(s) | 185 // in |installer_state|). |new_version| is the version of the product(s) |
| 186 // currently being installed -- can be empty on uninstall. | 186 // currently being installed -- can be empty on uninstall. |
| 187 void AddQueryEULAAcceptanceWorkItems(const InstallerState& installer_state, | 187 void AddQueryEULAAcceptanceWorkItems(const InstallerState& installer_state, |
| 188 const base::FilePath& setup_path, | 188 const base::FilePath& setup_path, |
| 189 const base::Version& new_version, | 189 const base::Version& new_version, |
| 190 const Product& product, | 190 const Product& product, |
| 191 WorkItemList* work_item_list); | 191 WorkItemList* work_item_list); |
| 192 | 192 |
| 193 // Adds work items to add or remove the "quick-enable-cf" to the multi-installer | 193 // Adds work items to remove "quick-enable-cf" from the multi-installer |
| 194 // binaries' version key on the basis of the current operation (represented in | 194 // binaries' version key. |
| 195 // |installer_state|) and the pre-existing machine configuration (represented in | |
| 196 // |machine_state|). |setup_path| (the path to the executable currently being | |
| 197 // run) and |new_version| (the version of the product(s) currently being | |
| 198 // installed) are required when processing product installation; they are unused | |
| 199 // (and may therefore be empty) when uninstalling. | |
| 200 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, | 195 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, |
| 201 const InstallationState& machine_state, | |
| 202 const base::FilePath& setup_path, | |
| 203 const base::Version& new_version, | |
| 204 WorkItemList* work_item_list); | 196 WorkItemList* work_item_list); |
| 205 | 197 |
| 206 } // namespace installer | 198 } // namespace installer |
| 207 | 199 |
| 208 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 200 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
| OLD | NEW |