diff options
Diffstat (limited to 'sync/internal_api/syncapi_server_connection_manager_unittest.cc')
-rw-r--r-- | sync/internal_api/syncapi_server_connection_manager_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sync/internal_api/syncapi_server_connection_manager_unittest.cc b/sync/internal_api/syncapi_server_connection_manager_unittest.cc index 67b3e25..a6e34d0 100644 --- a/sync/internal_api/syncapi_server_connection_manager_unittest.cc +++ b/sync/internal_api/syncapi_server_connection_manager_unittest.cc @@ -29,7 +29,6 @@ class BlockingHttpPost : public HttpPostProviderInterface { BlockingHttpPost() : wait_for_abort_(false, false) {} virtual ~BlockingHttpPost() {} - virtual void SetUserAgent(const char* user_agent) OVERRIDE {} virtual void SetExtraRequestHeaders(const char* headers) OVERRIDE {} virtual void SetURL(const char* url, int port) OVERRIDE {} virtual void SetPostPayload(const char* content_type, @@ -74,7 +73,7 @@ class BlockingHttpPostFactory : public HttpPostProviderFactory { TEST(SyncAPIServerConnectionManagerTest, EarlyAbortPost) { SyncAPIServerConnectionManager server( - "server", 0, true, "1", new BlockingHttpPostFactory()); + "server", 0, true, new BlockingHttpPostFactory()); ServerConnectionManager::PostBufferParams params; ScopedServerStatusWatcher watcher(&server, ¶ms.response); @@ -90,7 +89,7 @@ TEST(SyncAPIServerConnectionManagerTest, EarlyAbortPost) { TEST(SyncAPIServerConnectionManagerTest, AbortPost) { SyncAPIServerConnectionManager server( - "server", 0, true, "1", new BlockingHttpPostFactory()); + "server", 0, true, new BlockingHttpPostFactory()); ServerConnectionManager::PostBufferParams params; ScopedServerStatusWatcher watcher(&server, ¶ms.response); |