Index: chrome/browser/chromeos/login/wizard_controller.h |
diff --git a/chrome/browser/chromeos/login/wizard_controller.h b/chrome/browser/chromeos/login/wizard_controller.h |
index cdd3c898e99766481a11641b7904e2cf96343c42..fb6a8297e4b2becc67716c4abf31678281ad5a68 100644 |
--- a/chrome/browser/chromeos/login/wizard_controller.h |
+++ b/chrome/browser/chromeos/login/wizard_controller.h |
@@ -286,6 +286,10 @@ class WizardController : public ScreenObserver { |
bool server_error, |
const base::TimeDelta elapsed); |
+ // Returns true if callback has been installed. |
+ // Returns false if timezone has already been resolved. |
+ bool SetOnTimeZoneResolvedForTesting(const base::Closure& callback); |
+ |
// Whether to skip any screens that may normally be shown after login |
// (registration, Terms of Service, user image selection). |
static bool skip_post_login_screens_; |
@@ -373,11 +377,15 @@ class WizardController : public ScreenObserver { |
scoped_ptr<AccessibilityStatusSubscription> accessibility_subscription_; |
- base::WeakPtrFactory<WizardController> weak_factory_; |
- |
scoped_ptr<SimpleGeolocationProvider> geolocation_provider_; |
scoped_ptr<TimeZoneProvider> timezone_provider_; |
+ // Tests check result of timezone resolve. |
+ bool timezone_resolved_; |
+ base::Closure on_timezone_resolved_for_testing_; |
+ |
+ base::WeakPtrFactory<WizardController> weak_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WizardController); |
}; |