Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: chrome/installer/setup/install_worker.h

Issue 10823437: Callback flow to register Chrome and update shortcuts after OS upgrade to Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reimplementing registry changes using AppCommand; adding checks in InstallationValidator. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698