Index: chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
diff --git a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
index 35bfdf41c80e0f7dc607fb71a4f95e24ccbe1215..807e28399c3e2d97d0ff73cdd49669287de0db84 100644 |
--- a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
+++ b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
@@ -69,9 +69,9 @@ void OAuth2LoginVerifier::VerifyUserCookies(Profile* profile) { |
// Delay the verification if the network is not connected or on a captive |
// portal. |
DelayNetworkCall( |
+ base::TimeDelta::FromMilliseconds(kRequestRestartDelay), |
base::Bind(&OAuth2LoginVerifier::StartAuthCookiesVerification, |
- AsWeakPtr()), |
- base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); |
+ AsWeakPtr())); |
} |
void OAuth2LoginVerifier::VerifyProfileTokens(Profile* profile) { |
@@ -79,10 +79,9 @@ void OAuth2LoginVerifier::VerifyProfileTokens(Profile* profile) { |
// Delay the verification if the network is not connected or on a captive |
// portal. |
- DelayNetworkCall( |
- base::Bind( |
- &OAuth2LoginVerifier::VerifyProfileTokensImpl, AsWeakPtr(), profile), |
- base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); |
+ DelayNetworkCall(base::TimeDelta::FromMilliseconds(kRequestRestartDelay), |
+ base::Bind(&OAuth2LoginVerifier::VerifyProfileTokensImpl, |
+ AsWeakPtr(), profile)); |
} |
void OAuth2LoginVerifier::VerifyProfileTokensImpl(Profile* profile) { |