diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-07 01:26:56 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-07 01:26:56 +0000 |
commit | dfa1818b45e80b628bc8dbd62d7adc046d9dccd4 (patch) | |
tree | 5e88e60653956781f2b9d0bcd4cbd395055d8048 /cloud_print | |
parent | 229590ed409ffc381c890db3e183da0cd99264ea (diff) | |
download | chromium_src-dfa1818b45e80b628bc8dbd62d7adc046d9dccd4.zip chromium_src-dfa1818b45e80b628bc8dbd62d7adc046d9dccd4.tar.gz chromium_src-dfa1818b45e80b628bc8dbd62d7adc046d9dccd4.tar.bz2 |
Fixed Google Update registry value names.
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/12545012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
-rw-r--r-- | cloud_print/virtual_driver/win/install/setup.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cloud_print/virtual_driver/win/install/setup.cc b/cloud_print/virtual_driver/win/install/setup.cc index 53e9dce..8f145d6 100644 --- a/cloud_print/virtual_driver/win/install/setup.cc +++ b/cloud_print/virtual_driver/win/install/setup.cc @@ -65,9 +65,8 @@ const char kUnregisterSwitch[] = "unregister"; const wchar_t kVersionKey[] = L"pv"; const wchar_t kNameKey[] = L"name"; const DWORD kInstallerResultFailedCustomError = 1; -const wchar_t kRegValueLastInstallerResult[] = L"LastInstallerResult"; -const wchar_t kRegValueLastInstallerResultUIString[] = - L"LastInstallerResultUIString"; +const wchar_t kRegValueInstallerResult[] = L"InstallerResult"; +const wchar_t kRegValueInstallerResultUIString[] = L"InstallerResultUIString"; void SetGoogleUpdateKeys() { base::win::RegKey key; @@ -105,9 +104,9 @@ void SetGoogleUpdateError(const string16& message) { LOG(ERROR) << "Unable to open key"; } - if (key.WriteValue(kRegValueLastInstallerResult, + if (key.WriteValue(kRegValueInstallerResult, kInstallerResultFailedCustomError) != ERROR_SUCCESS || - key.WriteValue(kRegValueLastInstallerResultUIString, + key.WriteValue(kRegValueInstallerResultUIString, message.c_str()) != ERROR_SUCCESS) { LOG(ERROR) << "Unable to set registry keys"; } |