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

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: Created 8 years, 4 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 24 matching lines...) Expand all
35 void AddEulaAcceptedWorkItems(const InstallationState& original_state, 35 void AddEulaAcceptedWorkItems(const InstallationState& original_state,
36 const InstallerState& installer_state, 36 const InstallerState& installer_state,
37 WorkItemList* install_list); 37 WorkItemList* install_list);
38 38
39 // Adds work items that make registry adjustments for Google Update; namely, 39 // Adds work items that make registry adjustments for Google Update; namely,
40 // copy brand, oeminstall, and eulaaccepted values; and move a usagestats value. 40 // copy brand, oeminstall, and eulaaccepted values; and move a usagestats value.
41 void AddGoogleUpdateWorkItems(const InstallationState& original_state, 41 void AddGoogleUpdateWorkItems(const InstallationState& original_state,
42 const InstallerState& installer_state, 42 const InstallerState& installer_state,
43 WorkItemList* install_list); 43 WorkItemList* install_list);
44 44
45 // Store command line in the registry, which will be executed by Google Update
46 // upon OS upgrade.
47 void AddOsUpgradeWorkItems(const InstallationState& original_state,
48 const InstallerState& installer_state,
49 const FilePath& setup_path,
50 const Version& new_version,
51 WorkItemList* install_list);
52
45 // Adds work items that make registry adjustments for stats and crash 53 // Adds work items that make registry adjustments for stats and crash
46 // collection. When a product is installed, Google Update may write a 54 // collection. When a product is installed, Google Update may write a
47 // "usagestats" value to Chrome or Chrome Frame's ClientState key. In the 55 // "usagestats" value to Chrome or Chrome Frame's ClientState key. In the
48 // multi-install case, both products will consult/modify stats for the binaries' 56 // multi-install case, both products will consult/modify stats for the binaries'
49 // app guid. Consequently, during install and update we will move a 57 // app guid. Consequently, during install and update we will move a
50 // product-specific value into the binaries' ClientState key. 58 // product-specific value into the binaries' ClientState key.
51 void AddUsageStatsWorkItems(const InstallationState& original_state, 59 void AddUsageStatsWorkItems(const InstallationState& original_state,
52 const InstallerState& installer_state, 60 const InstallerState& installer_state,
53 WorkItemList* install_list); 61 WorkItemList* install_list);
54 62
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 void AddQuickEnableApplicationHostWorkItems( 205 void AddQuickEnableApplicationHostWorkItems(
198 const InstallerState& installer_state, 206 const InstallerState& installer_state,
199 const InstallationState& machine_state, 207 const InstallationState& machine_state,
200 const FilePath* setup_path, 208 const FilePath* setup_path,
201 const Version* new_version, 209 const Version* new_version,
202 WorkItemList* work_item_list); 210 WorkItemList* work_item_list);
203 211
204 } // namespace installer 212 } // namespace installer
205 213
206 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 214 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698