Index: chrome/installer/util/google_update_util.cc |
diff --git a/chrome/installer/util/google_update_util.cc b/chrome/installer/util/google_update_util.cc |
index 980664194a54ae16815bf6f92f2f3656ac357262..bde28f1c07db511f95640341d253e407a9c3d600 100644 |
--- a/chrome/installer/util/google_update_util.cc |
+++ b/chrome/installer/util/google_update_util.cc |
@@ -180,6 +180,11 @@ bool EnsureUserLevelGoogleUpdatePresent() { |
string16 cmd_string; |
if (!GetUserLevelGoogleUpdateInstallCommandLine(&cmd_string)) { |
LOG(ERROR) << "Cannot find Google Update at system-level."; |
+ // Ideally we should return false. However, this case should not be |
+ // encountered by regular users, and developers (who often installs |
+ // Chrome without Google Update) may be unduly impeded by this case. |
+ // Therefore we return true. |
+ return true; |
grt (UTC plus 2)
2013/02/13 14:22:49
success = true; for consistency since this functio
huangs
2013/02/13 15:35:28
Done.
|
} else { |
success = LaunchProcessAndWaitWithTimeout(cmd_string, |
base::TimeDelta::FromMilliseconds(INFINITE)); |