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

Unified Diff: chrome/browser/sync/test/test_http_bridge_factory.h

Issue 1692873004: Move ProfileSyncService tests for autofill & typed URLs to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@581640_no_browser_thread
Patch Set: Just rebased Created 4 years, 10 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/test/test_http_bridge_factory.h
diff --git a/chrome/browser/sync/test/test_http_bridge_factory.h b/chrome/browser/sync/test/test_http_bridge_factory.h
deleted file mode 100644
index 4ee18555c51607b77dd82558854bf97a431453d8..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/test_http_bridge_factory.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_
-#define CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_
-
-#include "base/compiler_specific.h"
-#include "sync/internal_api/public/http_post_provider_factory.h"
-#include "sync/internal_api/public/http_post_provider_interface.h"
-
-namespace browser_sync {
-
-class TestHttpBridge : public syncer::HttpPostProviderInterface {
- public:
- // Begin syncer::HttpPostProviderInterface implementation:
- void SetExtraRequestHeaders(const char* headers) override {}
-
- void SetURL(const char* url, int port) override {}
-
- void SetPostPayload(const char* content_type,
- int content_length,
- const char* content) override {}
-
- bool MakeSynchronousPost(int* error_code, int* response_code) override;
-
- int GetResponseContentLength() const override;
-
- const char* GetResponseContent() const override;
-
- const std::string GetResponseHeaderValue(const std::string&) const override;
-
- void Abort() override;
- // End syncer::HttpPostProviderInterface implementation.
-};
-
-class TestHttpBridgeFactory : public syncer::HttpPostProviderFactory {
- public:
- TestHttpBridgeFactory();
- ~TestHttpBridgeFactory() override;
-
- // syncer::HttpPostProviderFactory:
- void Init(
- const std::string& user_agent,
- const syncer::BindToTrackerCallback& bind_to_tracker_callback) override;
- syncer::HttpPostProviderInterface* Create() override;
- void Destroy(syncer::HttpPostProviderInterface* http) override;
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_
« no previous file with comments | « chrome/browser/sync/profile_sync_service_typed_url_unittest.cc ('k') | chrome/browser/sync/test/test_http_bridge_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698