Index: chrome/browser/google/google_update.cc |
=================================================================== |
--- chrome/browser/google/google_update.cc (revision 140271) |
+++ chrome/browser/google/google_update.cc (working copy) |
@@ -270,7 +270,8 @@ |
if (hr != S_OK) { |
// Most of the error messages come straight from Google Update. This one is |
// deemed worthy enough to also warrant its own error. |
- string16 error_code = base::StringPrintf(L"0x%x", hr); |
+ string16 error_code = base::StringPrintf( |
+ L"%d: 0x%x", GOOGLE_UPDATE_JOB_SERVER_CREATION_FAILED, hr); |
ReportFailure( |
hr, GOOGLE_UPDATE_JOB_SERVER_CREATION_FAILED, |
l10n_util::GetStringFUTF16(IDS_ABOUT_BOX_ERROR_COCREATE_FAILED, |
@@ -307,8 +308,15 @@ |
} |
if (hr != S_OK) { |
+ string16 error_code = base::StringPrintf( |
+ L"%d: 0x%x", GOOGLE_UPDATE_ONDEMAND_CLASS_NOT_FOUND, hr); |
+ if (system_level) |
S. Ganesh
2012/06/07 00:08:01
Prefer { }
Finnur
2012/06/07 10:43:29
Chrome team doesn't.
On 2012/06/07 00:08:01, gan
|
+ error_code += L" (system level)"; |
ReportFailure(hr, GOOGLE_UPDATE_ONDEMAND_CLASS_NOT_FOUND, |
- string16(), main_loop); |
+ l10n_util::GetStringFUTF16( |
+ IDS_ABOUT_BOX_ERROR_COCREATE_FAILED, |
+ error_code), |
+ main_loop); |
return; |
} |