Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2851)

Unified Diff: chrome/browser/sync/engine/net/gaia_authenticator_unittest.cc

Issue 273058: Fix some warnings on Mac that are treated as errors:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698