| Index: google_apis/gaia/oauth2_mint_token_flow.cc
|
| diff --git a/google_apis/gaia/oauth2_mint_token_flow.cc b/google_apis/gaia/oauth2_mint_token_flow.cc
|
| index b705ab872b01ca2007742d06b9f1a947b11b8321..b3641ebf8c4aa91468643419c467174fd47bc5e1 100644
|
| --- a/google_apis/gaia/oauth2_mint_token_flow.cc
|
| +++ b/google_apis/gaia/oauth2_mint_token_flow.cc
|
| @@ -30,29 +30,28 @@ using net::URLRequestStatus;
|
|
|
| namespace {
|
|
|
| -static const char kForceValueFalse[] = "false";
|
| -static const char kForceValueTrue[] = "true";
|
| -static const char kResponseTypeValueNone[] = "none";
|
| -static const char kResponseTypeValueToken[] = "token";
|
| +const char kForceValueFalse[] = "false";
|
| +const char kForceValueTrue[] = "true";
|
| +const char kResponseTypeValueNone[] = "none";
|
| +const char kResponseTypeValueToken[] = "token";
|
|
|
| -static const char kOAuth2IssueTokenBodyFormat[] =
|
| +const char kOAuth2IssueTokenBodyFormat[] =
|
| "force=%s"
|
| "&response_type=%s"
|
| "&scope=%s"
|
| "&client_id=%s"
|
| "&origin=%s";
|
| -static const char kIssueAdviceKey[] = "issueAdvice";
|
| -static const char kIssueAdviceValueAuto[] = "auto";
|
| -static const char kIssueAdviceValueConsent[] = "consent";
|
| -static const char kAccessTokenKey[] = "token";
|
| -static const char kConsentKey[] = "consent";
|
| -static const char kExpiresInKey[] = "expiresIn";
|
| -static const char kScopesKey[] = "scopes";
|
| -static const char kDescriptionKey[] = "description";
|
| -static const char kDetailKey[] = "detail";
|
| -static const char kDetailSeparators[] = "\n";
|
| -static const char kError[] = "error";
|
| -static const char kMessage[] = "message";
|
| +const char kIssueAdviceKey[] = "issueAdvice";
|
| +const char kIssueAdviceValueConsent[] = "consent";
|
| +const char kAccessTokenKey[] = "token";
|
| +const char kConsentKey[] = "consent";
|
| +const char kExpiresInKey[] = "expiresIn";
|
| +const char kScopesKey[] = "scopes";
|
| +const char kDescriptionKey[] = "description";
|
| +const char kDetailKey[] = "detail";
|
| +const char kDetailSeparators[] = "\n";
|
| +const char kError[] = "error";
|
| +const char kMessage[] = "message";
|
|
|
| static GoogleServiceAuthError CreateAuthError(const net::URLFetcher* source) {
|
| URLRequestStatus status = source->GetStatus();
|
|
|