summaryrefslogtreecommitdiffstats
path: root/google_apis/gaia
diff options
context:
space:
mode:
authorjdufault <jdufault@chromium.org>2015-10-30 16:20:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-30 23:21:39 +0000
commit3f73175145f4d2ae8d41ca974a1eb67ae3043df3 (patch)
treec784e148001b24ae80b154cf1c4b06432e4590ef /google_apis/gaia
parentb318cc84ac8b0d7d0d35c5248e8d9d2d9cb473f9 (diff)
downloadchromium_src-3f73175145f4d2ae8d41ca974a1eb67ae3043df3.zip
chromium_src-3f73175145f4d2ae8d41ca974a1eb67ae3043df3.tar.gz
chromium_src-3f73175145f4d2ae8d41ca974a1eb67ae3043df3.tar.bz2
Convert DVLOGs to VLOGs so we can see the output in release builds.
BUG=533012 Review URL: https://codereview.chromium.org/1425063002 Cr-Commit-Position: refs/heads/master@{#357218}
Diffstat (limited to 'google_apis/gaia')
-rw-r--r--google_apis/gaia/gaia_auth_fetcher.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc
index 59fa57a..38e7802 100644
--- a/google_apis/gaia/gaia_auth_fetcher.cc
+++ b/google_apis/gaia/gaia_auth_fetcher.cc
@@ -211,9 +211,9 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(const std::string& body,
fetcher_->SetRequestContext(getter_);
fetcher_->SetUploadData("application/x-www-form-urlencoded", body);
- DVLOG(2) << "Gaia fetcher URL: " << gaia_gurl.spec();
- DVLOG(2) << "Gaia fetcher headers: " << headers;
- DVLOG(2) << "Gaia fetcher body: " << body;
+ VLOG(2) << "Gaia fetcher URL: " << gaia_gurl.spec();
+ VLOG(2) << "Gaia fetcher headers: " << headers;
+ VLOG(2) << "Gaia fetcher body: " << body;
// The Gaia token exchange requests do not require any cookie-based
// identification as part of requests. We suppress sending any cookies to
@@ -496,7 +496,7 @@ void GaiaAuthFetcher::StartIssueAuthToken(const std::string& sid,
const char* const service) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
- DVLOG(1) << "Starting IssueAuthToken for: " << service;
+ VLOG(1) << "Starting IssueAuthToken for: " << service;
requested_service_ = service;
request_body_ = MakeIssueAuthTokenBody(sid, lsid, service);
CreateAndStartGaiaFetcher(request_body_, std::string(),
@@ -506,7 +506,7 @@ void GaiaAuthFetcher::StartIssueAuthToken(const std::string& sid,
void GaiaAuthFetcher::StartRevokeOAuth2Token(const std::string& auth_token) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
- DVLOG(1) << "Starting OAuth2 token revocation";
+ VLOG(1) << "Starting OAuth2 token revocation";
request_body_ = MakeRevokeTokenBody(auth_token);
CreateAndStartGaiaFetcher(request_body_, std::string(), oauth2_revoke_gurl_,
kLoadFlagsIgnoreCookies);
@@ -523,7 +523,7 @@ void GaiaAuthFetcher::StartCookieForOAuthLoginTokenExchangeWithDeviceId(
const std::string& device_id) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
- DVLOG(1) << "Starting OAuth login token fetch with cookie jar";
+ VLOG(1) << "Starting OAuth login token fetch with cookie jar";
std::string encoded_scope = net::EscapeUrlEncodedData(
GaiaConstants::kOAuth1LoginScope, true);
@@ -558,7 +558,7 @@ void GaiaAuthFetcher::StartAuthCodeForOAuth2TokenExchangeWithDeviceId(
const std::string& device_id) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
- DVLOG(1) << "Starting OAuth token pair fetch";
+ VLOG(1) << "Starting OAuth token pair fetch";
request_body_ = MakeGetTokenPairBody(auth_code, device_id);
CreateAndStartGaiaFetcher(request_body_, std::string(), oauth2_token_gurl_,
kLoadFlagsIgnoreCookies);
@@ -567,7 +567,7 @@ void GaiaAuthFetcher::StartAuthCodeForOAuth2TokenExchangeWithDeviceId(
void GaiaAuthFetcher::StartGetUserInfo(const std::string& lsid) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
- DVLOG(1) << "Starting GetUserInfo for lsid=" << lsid;
+ VLOG(1) << "Starting GetUserInfo for lsid=" << lsid;
request_body_ = MakeGetUserInfoBody(lsid);
CreateAndStartGaiaFetcher(request_body_, std::string(), get_user_info_gurl_,
kLoadFlagsIgnoreCookies);
@@ -577,7 +577,7 @@ void GaiaAuthFetcher::StartMergeSession(const std::string& uber_token,
const std::string& external_cc_result) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
- DVLOG(1) << "Starting MergeSession with uber_token=" << uber_token;
+ VLOG(1) << "Starting MergeSession with uber_token=" << uber_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
@@ -599,7 +599,7 @@ void GaiaAuthFetcher::StartTokenFetchForUberAuthExchange(
const std::string& access_token) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
- DVLOG(1) << "Starting StartTokenFetchForUberAuthExchange with access_token="
+ VLOG(1) << "Starting StartTokenFetchForUberAuthExchange with access_token="
<< access_token;
std::string authentication_header =
base::StringPrintf(kOAuthHeaderFormat, access_token.c_str());
@@ -838,7 +838,7 @@ void GaiaAuthFetcher::OnOAuthLoginFetched(const std::string& data,
const net::URLRequestStatus& status,
int response_code) {
if (status.is_success() && response_code == net::HTTP_OK) {
- DVLOG(1) << "ClientLogin successful!";
+ VLOG(1) << "ClientLogin successful!";
std::string sid;
std::string lsid;
std::string token;
@@ -866,7 +866,7 @@ void GaiaAuthFetcher::OnListIdpSessionsFetched(
const net::URLRequestStatus& status,
int response_code) {
if (status.is_success() && response_code == net::HTTP_OK) {
- DVLOG(1) << "ListIdpSessions successful!";
+ VLOG(1) << "ListIdpSessions successful!";
std::string login_hint;
if (ParseListIdpSessionsResponse(data, &login_hint)) {
consumer_->OnListIdpSessionsSuccess(login_hint);
@@ -889,7 +889,7 @@ void GaiaAuthFetcher::OnGetTokenResponseFetched(
int expires_in_secs = 0;
bool success = false;
if (status.is_success() && response_code == net::HTTP_OK) {
- DVLOG(1) << "GetTokenResponse successful!";
+ VLOG(1) << "GetTokenResponse successful!";
success = ExtractOAuth2TokenPairResponse(data, NULL,
&access_token, &expires_in_secs);
}