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

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: Reimplementing registry changes using AppCommand; adding checks in InstallationValidator. 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..2bd689f73c06dbc2ef2c49bbb09337cd9d83d3f8 100644
--- a/chrome/installer/setup/install_worker.h
+++ b/chrome/installer/setup/install_worker.h
@@ -201,6 +201,23 @@ void AddQuickEnableApplicationHostWorkItems(
const Version* new_version,
WorkItemList* work_item_list);
+// Generate the command line for Chrome, which we should be called after OS
+// upgrade.
+void RenderChromeBrowserOsUpgradeCommand(
+ const InstallerState& original_state,
+ const FilePath& setup_path,
+ const Version& new_version,
+ CommandLine* cmd_line);
+
+// 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
+// Google Update registry keys. Immediately after OS upgrade and user login,
+// Google Update will execute the given command line.
+void AddOsUpgradeWorkItems(const InstallationState& original_state,
+ const InstallerState& installer_state,
+ const Product& product,
+ const CommandLine& cmd_line,
+ WorkItemList* install_list);
+
} // namespace installer
#endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_

Powered by Google App Engine
This is Rietveld 408576698