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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 // the executable currently being run) and |new_version| (the version of the | 194 // the executable currently being run) and |new_version| (the version of the |
195 // product(s) currently being installed) are required when processing product | 195 // product(s) currently being installed) are required when processing product |
196 // installation; they are unused (and may therefore be NULL) when uninstalling. | 196 // installation; they are unused (and may therefore be NULL) when uninstalling. |
197 void AddQuickEnableApplicationHostWorkItems( | 197 void AddQuickEnableApplicationHostWorkItems( |
198 const InstallerState& installer_state, | 198 const InstallerState& installer_state, |
199 const InstallationState& machine_state, | 199 const InstallationState& machine_state, |
200 const FilePath* setup_path, | 200 const FilePath* setup_path, |
201 const Version* new_version, | 201 const Version* new_version, |
202 WorkItemList* work_item_list); | 202 WorkItemList* work_item_list); |
203 | 203 |
204 // Add work items to add or remove the "on-os-upgrade" command to |product|'s | |
grt (UTC plus 2)
2012/08/30 04:15:25
"Add" -> "Adds"
huangs
2012/08/30 17:13:07
Done, also fixed for three other methods.
| |
205 // version key on the basis of the current operation (represented in | |
206 // |installer_state|). |setup_path| (the path to the executable | |
207 // currently being run) and |new_version| (the version of the product(s) | |
208 // currently being installed) are required when processing product | |
209 // installation; they are unused (and may therefore be NULL) when uninstalling. | |
210 void AddOsUpgradeWorkItems(const InstallerState& installer_state, | |
211 const FilePath* setup_path, | |
212 const Version* new_version, | |
gab
2012/08/30 14:24:32
Don't pass a pointer just for the sake of being ab
huangs
2012/08/30 17:13:07
Not fixing this yet, per discussion. Will file cl
| |
213 const Product& product, | |
214 WorkItemList* install_list); | |
215 | |
204 } // namespace installer | 216 } // namespace installer |
205 | 217 |
206 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 218 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
OLD | NEW |