diff options
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/google_update.cc | 3 | ||||
-rw-r--r-- | chrome/browser/google_update.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/google_update.cc b/chrome/browser/google_update.cc index 9a58c74..a929f86 100644 --- a/chrome/browser/google_update.cc +++ b/chrome/browser/google_update.cc @@ -258,6 +258,9 @@ bool GoogleUpdate::InitiateGoogleUpdateCheck(bool install_if_newer, if (hr != S_OK) return ReportFailure(hr, GOOGLE_UPDATE_GET_RESULT_CALL_FAILED, main_loop); + if (results == UPGRADE_ERROR) + return ReportFailure(hr, GOOGLE_UPDATE_ERROR_UPDATING, main_loop); + hr = job_observer->GetVersionInfo(&version_available_); if (hr != S_OK) return ReportFailure(hr, GOOGLE_UPDATE_GET_VERSION_INFO_FAILED, main_loop); diff --git a/chrome/browser/google_update.h b/chrome/browser/google_update.h index 6d407c9..5e3d3cb 100644 --- a/chrome/browser/google_update.h +++ b/chrome/browser/google_update.h @@ -72,6 +72,9 @@ enum GoogleUpdateErrorCode { GOOGLE_UPDATE_GET_RESULT_CALL_FAILED, // A call to GetVersionInfo failed. GOOGLE_UPDATE_GET_VERSION_INFO_FAILED, + // An error occurred while upgrading (or while checking for update). + // Check the Google Update log in %TEMP% for more details. + GOOGLE_UPDATE_ERROR_UPDATING, }; // The GoogleUpdateStatusListener interface is used by components to receive |