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

Side by Side Diff: chrome/test/sync/test_http_bridge_factory.cc

Issue 7828055: Move sync test code out of chrome/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/sync/test_http_bridge_factory.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/test/sync/test_http_bridge_factory.h"
6
7 namespace browser_sync {
8
9 bool TestHttpBridge::MakeSynchronousPost(int* os_error_code,
10 int* response_code) {
11 return false;
12 }
13
14 int TestHttpBridge::GetResponseContentLength() const {
15 return 0;
16 }
17
18 const char* TestHttpBridge::GetResponseContent() const {
19 return 0;
20 }
21
22 const std::string TestHttpBridge::GetResponseHeaderValue(
23 const std::string &) const {
24 return std::string();
25 }
26
27 void TestHttpBridge::Abort() {
28 }
29
30 TestHttpBridgeFactory::TestHttpBridgeFactory() {}
31
32 TestHttpBridgeFactory::~TestHttpBridgeFactory() {}
33
34 sync_api::HttpPostProviderInterface* TestHttpBridgeFactory::Create() {
35 return new TestHttpBridge();
36 }
37
38 void TestHttpBridgeFactory::Destroy(sync_api::HttpPostProviderInterface* http) {
39 delete http;
40 }
41
42 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/test/sync/test_http_bridge_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698