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

Unified Diff: chrome/browser/ui/webui/options/about_page_handler.cc

Issue 6648009: Modify UpdateLibrary to use async RequestUpdateCheck call (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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
Index: chrome/browser/ui/webui/options/about_page_handler.cc
diff --git a/chrome/browser/ui/webui/options/about_page_handler.cc b/chrome/browser/ui/webui/options/about_page_handler.cc
index 9f6f1a4bda9395523dfbaa94545698962550cd2d..c09d97a1809c466cc693b72d4ab45cb7ab273c40 100644
--- a/chrome/browser/ui/webui/options/about_page_handler.cc
+++ b/chrome/browser/ui/webui/options/about_page_handler.cc
@@ -315,7 +315,8 @@ void AboutPageHandler::CheckNow(const ListValue* args) {
if (chromeos::CrosLibrary::Get()->EnsureLoaded() &&
(!WizardController::default_controller() ||
WizardController::IsDeviceRegistered())) {
- chromeos::CrosLibrary::Get()->GetUpdateLibrary()->CheckForUpdate();
+ chromeos::CrosLibrary::Get()->GetUpdateLibrary()->
+ RequestUpdateCheck(NULL /*no callback*/, NULL /*no userdata*/);
altimofeev 2011/03/10 08:27:34 nit: AFAIK, there is no such comment style. But yo
Nikita (slow) 2011/03/10 11:32:04 Should place each NULL parameter on a separate lin
stevenjb 2011/03/10 17:28:50 Done.
}
}

Powered by Google App Engine
This is Rietveld 408576698