Index: chrome/common/net/gaia/gaia_auth_fetcher.cc |
=================================================================== |
--- chrome/common/net/gaia/gaia_auth_fetcher.cc (revision 106774) |
+++ chrome/common/net/gaia/gaia_auth_fetcher.cc (working copy) |
@@ -304,7 +304,7 @@ |
// This class is thread agnostic, so be sure to call this only on the |
// same thread each time. |
- VLOG(1) << "Starting new ClientLogin fetch for:" << username; |
+ DVLOG(1) << "Starting new ClientLogin fetch for:" << username; |
// Must outlive fetcher_. |
request_body_ = MakeClientLoginBody(username, |
@@ -328,7 +328,7 @@ |
const char* const service) { |
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; |
- VLOG(1) << "Starting IssueAuthToken for: " << service; |
+ DVLOG(1) << "Starting IssueAuthToken for: " << service; |
requested_service_ = service; |
request_body_ = MakeIssueAuthTokenBody(sid, lsid, service); |
fetcher_.reset(CreateGaiaFetcher(getter_, |
@@ -344,7 +344,7 @@ |
const std::string& info_key) { |
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; |
- VLOG(1) << "Starting GetUserInfo for lsid=" << lsid; |
+ DVLOG(1) << "Starting GetUserInfo for lsid=" << lsid; |
request_body_ = MakeGetUserInfoBody(lsid); |
fetcher_.reset(CreateGaiaFetcher(getter_, |
request_body_, |
@@ -359,7 +359,7 @@ |
void GaiaAuthFetcher::StartTokenAuth(const std::string& auth_token) { |
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; |
- VLOG(1) << "Starting TokenAuth with auth_token=" << auth_token; |
+ DVLOG(1) << "Starting TokenAuth with auth_token=" << auth_token; |
// The continue URL is a required parameter of the TokenAuth API, but in this |
// case we don't actually need or want to navigate to it. Setting it to |
@@ -378,7 +378,7 @@ |
void GaiaAuthFetcher::StartMergeSession(const std::string& auth_token) { |
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; |
- VLOG(1) << "Starting MergeSession with auth_token=" << auth_token; |
+ DVLOG(1) << "Starting MergeSession with auth_token=" << auth_token; |
// The continue URL is a required parameter of the MergeSession API, but in |
// this case we don't actually need or want to navigate to it. Setting it to |
@@ -407,7 +407,7 @@ |
if (status.status() == net::URLRequestStatus::CANCELED) { |
return GoogleServiceAuthError(GoogleServiceAuthError::REQUEST_CANCELED); |
} else { |
- LOG(WARNING) << "Could not reach Google Accounts servers: errno " |
+ DLOG(WARNING) << "Could not reach Google Accounts servers: errno " |
<< status.error(); |
return GoogleServiceAuthError::FromConnectionError(status.error()); |
} |
@@ -421,7 +421,7 @@ |
std::string captcha_url; |
std::string captcha_token; |
ParseClientLoginFailure(data, &error, &url, &captcha_url, &captcha_token); |
- LOG(WARNING) << "ClientLogin failed with " << error; |
+ DLOG(WARNING) << "ClientLogin failed with " << error; |
if (error == kCaptchaError) { |
GURL image_url( |
@@ -443,7 +443,7 @@ |
GoogleServiceAuthError::SERVICE_UNAVAILABLE); |
} |
- LOG(WARNING) << "Incomprehensible response from Google Accounts servers."; |
+ DLOG(WARNING) << "Incomprehensible response from Google Accounts servers."; |
return GoogleServiceAuthError( |
GoogleServiceAuthError::SERVICE_UNAVAILABLE); |
} |
@@ -460,7 +460,7 @@ |
if (status.status() == net::URLRequestStatus::CANCELED) { |
return GoogleServiceAuthError(GoogleServiceAuthError::REQUEST_CANCELED); |
} else { |
- LOG(WARNING) << "Could not reach Google Accounts servers: errno " |
+ DLOG(WARNING) << "Could not reach Google Accounts servers: errno " |
<< status.error(); |
return GoogleServiceAuthError::FromConnectionError(status.error()); |
} |
@@ -496,7 +496,7 @@ |
GoogleServiceAuthError::SERVICE_UNAVAILABLE); |
} |
- LOG(WARNING) << "Incomprehensible response from Google Accounts servers."; |
+ DLOG(WARNING) << "Incomprehensible response from Google Accounts servers."; |
return GoogleServiceAuthError( |
GoogleServiceAuthError::SERVICE_UNAVAILABLE); |
} |
@@ -509,7 +509,7 @@ |
const net::URLRequestStatus& status, |
int response_code) { |
if (status.is_success() && response_code == RC_REQUEST_OK) { |
- VLOG(1) << "ClientLogin successful!"; |
+ DVLOG(1) << "ClientLogin successful!"; |
std::string sid; |
std::string lsid; |
std::string token; |