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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch feature to disabled by default. Created 5 years, 11 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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index cfde787ba0ff31edb137756076b1a4aa8c587fdb..60e248df3396ae2a9fa13ef25ca331abe10d5287 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -774,13 +774,13 @@ void WizardController::StartTimezoneResolve() {
void WizardController::PerformPostEulaActions() {
DelayNetworkCall(
+ base::TimeDelta::FromMilliseconds(kDefaultNetworkRetryDelayMS),
base::Bind(&WizardController::StartTimezoneResolve,
- weak_factory_.GetWeakPtr()),
- base::TimeDelta::FromMilliseconds(kDefaultNetworkRetryDelayMS));
+ weak_factory_.GetWeakPtr()));
DelayNetworkCall(
+ base::TimeDelta::FromMilliseconds(kDefaultNetworkRetryDelayMS),
ServicesCustomizationDocument::GetInstance()
- ->EnsureCustomizationAppliedClosure(),
- base::TimeDelta::FromMilliseconds(kDefaultNetworkRetryDelayMS));
+ ->EnsureCustomizationAppliedClosure());
// Now that EULA has been accepted (for official builds), enable portal check.
// ChromiumOS builds would go though this code path too.

Powered by Google App Engine
This is Rietveld 408576698