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

Unified Diff: chrome/installer/util/install_util.h

Issue 7036017: Write installer results in all relevant registry keys so that we're sure that Google Update will ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/install_util.h
===================================================================
--- chrome/installer/util/install_util.h (revision 85625)
+++ chrome/installer/util/install_util.h (working copy)
@@ -48,15 +48,17 @@
// This function checks if the current OS is supported for Chromium.
static bool IsOSSupported();
- // This function sets installer error information in registry so that Google
- // Update can read it and display to the user. |state_key| should be
- // obtained via the state_key method of an InstallerState instance created
- // before the machine state is modified by the installer.
- static void WriteInstallerResult(bool system_install,
- const std::wstring& state_key,
- installer::InstallStatus status,
- int string_resource_id,
- const std::wstring* const launch_cmd);
+ // Adds work items to |install_list|, which should be a
+ // NoRollbackWorkItemList, to set installer error information in the registry
+ // for consumption by Google Update. |state_key| must be the full path to an
+ // app's ClientState key. See InstallerState::WriteInstallerResult for more
+ // details.
+ static void AddInstallerResultItems(bool system_install,
+ const std::wstring& state_key,
+ installer::InstallStatus status,
+ int string_resource_id,
+ const std::wstring* const launch_cmd,
+ WorkItemList* install_list);
// Update the installer stage reported by Google Update. |state_key_path|
// should be obtained via the state_key method of an InstallerState instance
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698