| Index: google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| diff --git a/google_apis/gaia/gaia_auth_fetcher_unittest.cc b/google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| index f554b5ed85582ab10c34b6ca9ed8ef5f2108e7ca..89706918c7dbec1ab154a3bf427db65e60afe54f 100644
|
| --- a/google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| +++ b/google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| @@ -30,33 +30,21 @@
|
| using ::testing::Invoke;
|
| using ::testing::_;
|
|
|
| -namespace {
|
| -static const char kGetAuthCodeValidCookie[] =
|
| +const char kGetAuthCodeValidCookie[] =
|
| "oauth_code=test-code; Path=/test; Secure; HttpOnly";
|
| -static const char kGetAuthCodeCookieNoSecure[] =
|
| +const char kGetAuthCodeCookieNoSecure[] =
|
| "oauth_code=test-code; Path=/test; HttpOnly";
|
| -static const char kGetAuthCodeCookieNoHttpOnly[] =
|
| +const char kGetAuthCodeCookieNoHttpOnly[] =
|
| "oauth_code=test-code; Path=/test; Secure";
|
| -static const char kGetAuthCodeCookieNoOAuthCode[] =
|
| +const char kGetAuthCodeCookieNoOAuthCode[] =
|
| "Path=/test; Secure; HttpOnly";
|
| -static const char kGetTokenPairValidResponse[] =
|
| +const char kGetTokenPairValidResponse[] =
|
| "{"
|
| " \"refresh_token\": \"rt1\","
|
| " \"access_token\": \"at1\","
|
| " \"expires_in\": 3600,"
|
| " \"token_type\": \"Bearer\""
|
| "}";
|
| -static const char kClientOAuthValidResponse[] =
|
| - "{"
|
| - " \"oauth2\": {"
|
| - " \"refresh_token\": \"rt1\","
|
| - " \"access_token\": \"at1\","
|
| - " \"expires_in\": 3600,"
|
| - " \"token_type\": \"Bearer\""
|
| - " }"
|
| - "}";
|
| -
|
| -} // namespace
|
|
|
| MockFetcher::MockFetcher(bool success,
|
| const GURL& url,
|
|
|