summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_update.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/google_update.cc')
-rw-r--r--chrome/browser/google_update.cc3
1 files changed, 3 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);