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

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

Issue 59883010: This is the fourth CL of several that will eventually replace TokenService with (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change LOG(INFO) to VLOG(1) Created 7 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
Index: chrome/browser/chromeos/login/oauth2_login_verifier.cc
diff --git a/chrome/browser/chromeos/login/oauth2_login_verifier.cc b/chrome/browser/chromeos/login/oauth2_login_verifier.cc
index 77a5eca0b75dbb0df0cd6c4e66d67c81d32ea654..83c7c8ebe53fea95ba6eb7846c8b6d66b1cd7c06 100644
--- a/chrome/browser/chromeos/login/oauth2_login_verifier.cc
+++ b/chrome/browser/chromeos/login/oauth2_login_verifier.cc
@@ -107,7 +107,7 @@ void OAuth2LoginVerifier::StartOAuthLoginForUberToken() {
void OAuth2LoginVerifier::OnUberAuthTokenSuccess(
const std::string& uber_token) {
- LOG(INFO) << "OAuthLogin(uber_token) successful!";
+ VLOG(1) << "OAuthLogin(uber_token) successful!";
retry_count_ = 0;
gaia_token_ = uber_token;
StartMergeSession();
@@ -136,7 +136,7 @@ void OAuth2LoginVerifier::StartOAuthLoginForGaiaCredentials() {
void OAuth2LoginVerifier::OnClientLoginSuccess(
const ClientLoginResult& gaia_credentials) {
- LOG(INFO) << "OAuthLogin(SID+LSID) successful!";
+ VLOG(1) << "OAuthLogin(SID+LSID) successful!";
retry_count_ = 0;
delegate_->OnOAuthLoginSuccess(gaia_credentials);
}
@@ -165,9 +165,9 @@ void OAuth2LoginVerifier::StartMergeSession() {
void OAuth2LoginVerifier::OnMergeSessionSuccess(const std::string& data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- LOG(INFO) << "MergeSession successful.";
+ VLOG(1) << "MergeSession successful.";
delegate_->OnSessionMergeSuccess();
- // Get GAIA credentials needed to kick off TokenService and friends.
+ // Get GAIA credentials needed to kick off OAuth2TokenService and friends.
StartOAuthLoginForGaiaCredentials();
}
@@ -193,7 +193,7 @@ void OAuth2LoginVerifier::OnGetTokenSuccess(
DCHECK_EQ(login_token_request_.get(), request);
login_token_request_.reset();
- LOG(INFO) << "Got OAuth2 access token!";
+ VLOG(1) << "Got OAuth2 access token!";
retry_count_ = 0;
access_token_ = access_token;
StartOAuthLoginForUberToken();

Powered by Google App Engine
This is Rietveld 408576698