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

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

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.cc
diff --git a/chrome/browser/sync/test/test_http_bridge_factory.cc b/chrome/browser/sync/test/test_http_bridge_factory.cc
deleted file mode 100644
index f9ee2822b711913445d542cc1d95ef2d7085fe56..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/test_http_bridge_factory.cc
+++ /dev/null
@@ -1,46 +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.
-
-#include "chrome/browser/sync/test/test_http_bridge_factory.h"
-
-namespace browser_sync {
-
-bool TestHttpBridge::MakeSynchronousPost(int* error_code,
- int* response_code) {
- return false;
-}
-
-int TestHttpBridge::GetResponseContentLength() const {
- return 0;
-}
-
-const char* TestHttpBridge::GetResponseContent() const {
- return 0;
-}
-
-const std::string TestHttpBridge::GetResponseHeaderValue(
- const std::string &) const {
- return std::string();
-}
-
-void TestHttpBridge::Abort() {
-}
-
-TestHttpBridgeFactory::TestHttpBridgeFactory() {}
-
-TestHttpBridgeFactory::~TestHttpBridgeFactory() {}
-
-void TestHttpBridgeFactory::Init(
- const std::string& user_agent,
- const syncer::BindToTrackerCallback& bind_to_tracker_callback) {}
-
-syncer::HttpPostProviderInterface* TestHttpBridgeFactory::Create() {
- return new TestHttpBridge();
-}
-
-void TestHttpBridgeFactory::Destroy(syncer::HttpPostProviderInterface* http) {
- delete static_cast<TestHttpBridge*>(http);
-}
-
-} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/test/test_http_bridge_factory.h ('k') | chrome/browser/sync/test_profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698