Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1012)

Unified Diff: chrome/browser/views/about_chrome_view.cc

Issue 42606: Making google update UAC prompt launch in the foreground (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google_update.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/about_chrome_view.cc
===================================================================
--- chrome/browser/views/about_chrome_view.cc (revision 12286)
+++ chrome/browser/views/about_chrome_view.cc (working copy)
@@ -587,7 +587,8 @@
service_pack_major >= 1) ||
win_util::GetWinVersion() > win_util::WINVERSION_VISTA) {
UpdateStatus(UPGRADE_CHECK_STARTED, GOOGLE_UPDATE_NO_ERROR);
- google_updater_->CheckForUpdate(false); // false=don't upgrade yet.
+ // CheckForUpdate(false, ...) means don't upgrade yet.
+ google_updater_->CheckForUpdate(false, window());
}
} else {
parent->RemoveChildView(&update_label_);
@@ -668,7 +669,8 @@
DCHECK(!google_updater_);
google_updater_ = new GoogleUpdate();
google_updater_->AddStatusChangeListener(this);
- google_updater_->CheckForUpdate(true); // true=upgrade if new version found.
+ // CheckForUpdate(true,...) means perform the upgrade if new version found.
+ google_updater_->CheckForUpdate(true, window());
return false; // We never allow this button to close the window.
}
« no previous file with comments | « chrome/browser/google_update.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698