diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-22 12:11:37 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-22 12:11:37 +0000 |
commit | 5d5c13d1df9ffe304f595ea886092a75d4be381e (patch) | |
tree | 24df0b3f3ccd708fcb555a9320e46837f519cbe5 /sync/internal_api/syncapi_server_connection_manager_unittest.cc | |
parent | a1733df46d06f88f1d212de14a0ba352a5383731 (diff) | |
download | chromium_src-5d5c13d1df9ffe304f595ea886092a75d4be381e.zip chromium_src-5d5c13d1df9ffe304f595ea886092a75d4be381e.tar.gz chromium_src-5d5c13d1df9ffe304f595ea886092a75d4be381e.tar.bz2 |
[Sync] Move HttpBridge to sync/
Remove all references to content in HttpBridge.
Clean up handling of HTTP user agent in HttpBridge.
BUG=133791
TEST=
Review URL: https://chromiumcodereview.appspot.com/10645004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143575 0039d316-1c4b-4281-b951-d872f2087c98
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); |