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

Unified Diff: components/browser_sync/browser/test_http_bridge_factory.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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: components/browser_sync/browser/test_http_bridge_factory.cc
diff --git a/components/browser_sync/browser/test_http_bridge_factory.cc b/components/browser_sync/browser/test_http_bridge_factory.cc
deleted file mode 100644
index b38bb6e7ee98fd2c0ffbfc6a6a735a387843d8b1..0000000000000000000000000000000000000000
--- a/components/browser_sync/browser/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 "components/browser_sync/browser/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

Powered by Google App Engine
This is Rietveld 408576698