| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/sync/test/test_http_bridge_factory.h" | 5 #include "components/browser_sync/browser/test_http_bridge_factory.h" |
| 6 | 6 |
| 7 namespace browser_sync { | 7 namespace browser_sync { |
| 8 | 8 |
| 9 bool TestHttpBridge::MakeSynchronousPost(int* error_code, | 9 bool TestHttpBridge::MakeSynchronousPost(int* error_code, |
| 10 int* response_code) { | 10 int* response_code) { |
| 11 return false; | 11 return false; |
| 12 } | 12 } |
| 13 | 13 |
| 14 int TestHttpBridge::GetResponseContentLength() const { | 14 int TestHttpBridge::GetResponseContentLength() const { |
| 15 return 0; | 15 return 0; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 syncer::HttpPostProviderInterface* TestHttpBridgeFactory::Create() { | 38 syncer::HttpPostProviderInterface* TestHttpBridgeFactory::Create() { |
| 39 return new TestHttpBridge(); | 39 return new TestHttpBridge(); |
| 40 } | 40 } |
| 41 | 41 |
| 42 void TestHttpBridgeFactory::Destroy(syncer::HttpPostProviderInterface* http) { | 42 void TestHttpBridgeFactory::Destroy(syncer::HttpPostProviderInterface* http) { |
| 43 delete static_cast<TestHttpBridge*>(http); | 43 delete static_cast<TestHttpBridge*>(http); |
| 44 } | 44 } |
| 45 | 45 |
| 46 } // namespace browser_sync | 46 } // namespace browser_sync |
| OLD | NEW |