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 // Generate the command line for Chrome, which we should be called after OS | |
205 // upgrade. | |
206 void RenderChromeBrowserOsUpgradeCommand( | |
207 const InstallerState& original_state, | |
208 const FilePath& setup_path, | |
209 const Version& new_version, | |
210 CommandLine* cmd_line); | |
211 | |
212 // For given product, provide command line that will be stored in | |
grt (UTC plus 2)
2012/08/28 19:35:39
doc comments for functions should be of the form:
huangs
2012/08/29 17:02:54
Done, and imitated comments from above. Also remov
| |
213 // Google Update registry keys. Immediately after OS upgrade and user login, | |
214 // Google Update will execute the given command line. | |
215 void AddOsUpgradeWorkItems(const InstallationState& original_state, | |
216 const InstallerState& installer_state, | |
217 const Product& product, | |
218 const CommandLine& cmd_line, | |
219 WorkItemList* install_list); | |
220 | |
204 } // namespace installer | 221 } // namespace installer |
205 | 222 |
206 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 223 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
OLD | NEW |