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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 // Adds work items to add or remove the "on-os-upgrade" command to |product|'s | 172 // Adds work items to add or remove the "on-os-upgrade" command to |product|'s |
173 // version key on the basis of the current operation (represented in | 173 // version key on the basis of the current operation (represented in |
174 // |installer_state|). |new_version| is the version of the product(s) | 174 // |installer_state|). |new_version| is the version of the product(s) |
175 // currently being installed -- can be empty on uninstall. | 175 // currently being installed -- can be empty on uninstall. |
176 void AddOsUpgradeWorkItems(const InstallerState& installer_state, | 176 void AddOsUpgradeWorkItems(const InstallerState& installer_state, |
177 const base::FilePath& setup_path, | 177 const base::FilePath& setup_path, |
178 const base::Version& new_version, | 178 const base::Version& new_version, |
179 const Product& product, | 179 const Product& product, |
180 WorkItemList* install_list); | 180 WorkItemList* install_list); |
181 | 181 |
182 // Adds work items to add or remove the "query-eula-acceptance" command to | |
183 // |product|'s version key on the basis of the current operation (represented | |
184 // in |installer_state|). |new_version| is the version of the product(s) | |
185 // currently being installed -- can be empty on uninstall. | |
186 void AddQueryEULAAcceptanceWorkItems(const InstallerState& installer_state, | |
187 const base::FilePath& setup_path, | |
188 const base::Version& new_version, | |
189 const Product& product, | |
190 WorkItemList* work_item_list); | |
191 | |
192 // Adds work items to remove "quick-enable-cf" from the multi-installer | 182 // Adds work items to remove "quick-enable-cf" from the multi-installer |
193 // binaries' version key. | 183 // binaries' version key. |
194 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, | 184 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, |
195 WorkItemList* work_item_list); | 185 WorkItemList* work_item_list); |
196 | 186 |
197 } // namespace installer | 187 } // namespace installer |
198 | 188 |
199 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 189 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
OLD | NEW |