summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/install_util.h
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-20 19:01:13 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-20 19:01:13 +0000
commit452fc5418259b01cdd2d92c00e03780ef04b4be4 (patch)
tree597bc2da45d6cedcb366a2aea55ab3ce68eb8e3d /chrome/installer/util/install_util.h
parent2ceafa3ddbaaa90ff73abf9941eae217c7808710 (diff)
downloadchromium_src-452fc5418259b01cdd2d92c00e03780ef04b4be4.zip
chromium_src-452fc5418259b01cdd2d92c00e03780ef04b4be4.tar.gz
chromium_src-452fc5418259b01cdd2d92c00e03780ef04b4be4.tar.bz2
Now omaha supports displaying custom error string through registry keys.
Add error strings in Chrome installer. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/install_util.h')
-rwxr-xr-xchrome/installer/util/install_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h
index ed63175..8bf8d2f 100755
--- a/chrome/installer/util/install_util.h
+++ b/chrome/installer/util/install_util.h
@@ -39,6 +39,12 @@ class InstallUtil {
// 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.
+ static void SetInstallerError(bool system_install,
+ installer_util::InstallStatus status,
+ int string_resource_id);
private:
DISALLOW_EVIL_CONSTRUCTORS(InstallUtil);
};