| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // Adds work items to add or remove the "on-os-upgrade" command to |product|'s | 208 // Adds work items to add or remove the "on-os-upgrade" command to |product|'s |
| 209 // version key on the basis of the current operation (represented in | 209 // version key on the basis of the current operation (represented in |
| 210 // |installer_state|). |new_version| is the version of the product(s) | 210 // |installer_state|). |new_version| is the version of the product(s) |
| 211 // currently being installed -- can be empty on uninstall. | 211 // currently being installed -- can be empty on uninstall. |
| 212 void AddOsUpgradeWorkItems(const InstallerState& installer_state, | 212 void AddOsUpgradeWorkItems(const InstallerState& installer_state, |
| 213 const FilePath& setup_path, | 213 const FilePath& setup_path, |
| 214 const Version& new_version, | 214 const Version& new_version, |
| 215 const Product& product, | 215 const Product& product, |
| 216 WorkItemList* install_list); | 216 WorkItemList* install_list); |
| 217 | 217 |
| 218 // Adds work items to add or remove the "query-eula-acceptance" command to |
| 219 // |product|'s version key on the basis of the current operation (represented |
| 220 // in |installer_state|). |
| 221 void AddQueryEULAAcceptanceWorkItems(const InstallerState& installer_state, |
| 222 const Product& product, |
| 223 WorkItemList* work_item_list); |
| 224 |
| 218 } // namespace installer | 225 } // namespace installer |
| 219 | 226 |
| 220 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 227 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
| OLD | NEW |