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

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: Fix nits 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
« no previous file with comments | « chrome/browser/chromeos/login/update_screen_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c6c8fca46b6afee333ee8b7cc594b8391bf76a6b 100644
--- a/chrome/browser/ui/webui/options/about_page_handler.cc
+++ b/chrome/browser/ui/webui/options/about_page_handler.cc
@@ -315,7 +315,9 @@ 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
}
}
« no previous file with comments | « chrome/browser/chromeos/login/update_screen_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698