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

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

Issue 8588006: Eliminate CrosLibrary::EnsureLoaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 1 month 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/ui/webui/chromeos/register_page_ui.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/chromeos/about_page_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc b/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc
index 9bfe4f5f39b528b81d0135e9f237ab3a90a29b3d..4cbb46c83e45e3478e4531d2bd744aaa2d3452e7 100644
--- a/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc
@@ -290,9 +290,8 @@ void AboutPageHandler::SetReleaseTrack(const ListValue* args) {
void AboutPageHandler::CheckNow(const ListValue* args) {
// Make sure that libcros is loaded and OOBE is complete.
- if (CrosLibrary::Get()->EnsureLoaded() &&
- (!WizardController::default_controller() ||
- WizardController::IsDeviceRegistered())) {
+ if (!WizardController::default_controller() ||
+ WizardController::IsDeviceRegistered()) {
CrosLibrary::Get()->GetUpdateLibrary()->
RequestUpdateCheck(NULL, // no callback
NULL); // no userdata
« no previous file with comments | « chrome/browser/ui/webui/chromeos/register_page_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698