Index: chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc |
=================================================================== |
--- chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc (revision 130661) |
+++ chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc (working copy) |
@@ -32,6 +32,7 @@ |
using testing::Return; |
namespace { |
+ |
static GURL CreateApiUrl() { |
return GURL("https://www.googleapis.com/someapi"); |
} |
@@ -42,8 +43,9 @@ |
scopes.push_back("scope2"); |
return scopes; |
} |
-} |
+} // namespace |
+ |
class MockUrlFetcherFactory : public ScopedURLFetcherFactory, |
public URLFetcherFactory { |
public: |
@@ -94,7 +96,6 @@ |
MOCK_METHOD1(ProcessMintAccessTokenFailure, |
void (const GoogleServiceAuthError& error)); |
MOCK_METHOD0(CreateAccessTokenFetcher, OAuth2AccessTokenFetcher* ()); |
- // MOCK_METHOD0(CreateURLFetcher, URLFetcher* ()); |
}; |
class OAuth2ApiCallFlowTest : public testing::Test { |