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

Unified 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: Refactoring and nits. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/install_worker.h
diff --git a/chrome/installer/setup/install_worker.h b/chrome/installer/setup/install_worker.h
index c112f8cd61bbf5a72de18245e34d5b52ef05963d..74b79442e57fb638cd30679a1bfc0a4f00e54567 100644
--- a/chrome/installer/setup/install_worker.h
+++ b/chrome/installer/setup/install_worker.h
@@ -147,7 +147,7 @@ void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
WorkItemList* install_list,
const Product& product);
-// Create Version key for a product (if not already present) and sets the new
+// Creates Version key for a product (if not already present) and sets the new
// product version as the last step. If |add_language_identifier| is true, the
// "lang" value is also set according to the currently selected translation.
void AddVersionKeyWorkItems(HKEY root,
@@ -174,7 +174,7 @@ void AppendUninstallCommandLineFlags(const InstallerState& installer_state,
// Refreshes the elevation policy on platforms where it is supported.
void RefreshElevationPolicy();
-// Add work items to add or remove the "quick-enable-cf" to the multi-installer
+// Adds work items to add or remove the "quick-enable-cf" to the multi-installer
// binaries' version key on the basis of the current operation (represented in
// |installer_state|) and the pre-existing machine configuration (represented in
// |machine_state|). |setup_path| (the path to the executable currently being
@@ -187,7 +187,7 @@ void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state,
const Version* new_version,
WorkItemList* work_item_list);
-// Add work items to add or remove the "quick-enable-application-host" command
+// Adds work items to add or remove the "quick-enable-application-host" command
// to the multi-installer binaries' version key on the basis of the current
// operation (represented in |installer_state|) and the pre-existing machine
// configuration (represented in |machine_state|). |setup_path| (the path to
@@ -201,6 +201,17 @@ void AddQuickEnableApplicationHostWorkItems(
const Version* new_version,
WorkItemList* work_item_list);
+// Adds work items to add or remove the "on-os-upgrade" command to |product|'s
+// version key on the basis of the current operation (represented in
+// |installer_state|). |new_version| (the version of the product(s)
+// currently being installed) is required when processing product
+// installation; it is unused (and may therefore be NULL) when uninstalling.
+void AddOsUpgradeWorkItems(const InstallerState& installer_state,
+ const FilePath* setup_path,
+ const Version* new_version,
+ const Product& product,
+ WorkItemList* install_list);
+
} // namespace installer
#endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_

Powered by Google App Engine
This is Rietveld 408576698