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

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: Fix rebase. 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 a0f29e430d43c52aa2af8a9934d4d851c6c0d6d7..a9c66d1fe743a49bf5847741611ad4d7cbd114ee 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.
« no previous file with comments | « chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc ('k') | chrome/browser/chromeos/net/delay_network_call.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698