| Index: chrome/browser/sync/engine/net/gaia_authenticator_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/sync/engine/net/gaia_authenticator_unittest.cc (revision 29024)
|
| +++ chrome/browser/sync/engine/net/gaia_authenticator_unittest.cc (working copy)
|
| @@ -17,12 +17,11 @@
|
|
|
| class GaiaAuthenticatorTest : public testing::Test { };
|
|
|
| -class GaiaAuthMock : public GaiaAuthenticator {
|
| +class GaiaAuthMockForGaiaAuthenticator : public GaiaAuthenticator {
|
| public:
|
| - GaiaAuthMock() : GaiaAuthenticator("useragent",
|
| - "serviceid",
|
| - "http://gaia_url") {}
|
| - ~GaiaAuthMock() {}
|
| + GaiaAuthMockForGaiaAuthenticator()
|
| + : GaiaAuthenticator("useragent", "serviceid", "http://gaia_url") {}
|
| + ~GaiaAuthMockForGaiaAuthenticator() {}
|
| protected:
|
| bool Post(const GURL& url, const string& post_body,
|
| unsigned long* response_code, string* response_body) {
|
| @@ -33,7 +32,7 @@
|
| };
|
|
|
| TEST(GaiaAuthenticatorTest, TestNewlineAtEndOfAuthTokenRemoved) {
|
| - GaiaAuthMock mock_auth;
|
| + GaiaAuthMockForGaiaAuthenticator mock_auth;
|
| MessageLoop message_loop;
|
| mock_auth.set_message_loop(&message_loop);
|
| GaiaAuthenticator::AuthResults results;
|
|
|