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

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

Issue 1330443002: Report data usage UMA for Chrome services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@NewArchServices
Patch Set: Fix calling Init function in sync_client.cc Created 5 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
« no previous file with comments | « chrome/browser/sync/test/test_http_bridge_factory.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/sync/test/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) {
(...skipping 13 matching lines...) Expand all
24 return std::string(); 24 return std::string();
25 } 25 }
26 26
27 void TestHttpBridge::Abort() { 27 void TestHttpBridge::Abort() {
28 } 28 }
29 29
30 TestHttpBridgeFactory::TestHttpBridgeFactory() {} 30 TestHttpBridgeFactory::TestHttpBridgeFactory() {}
31 31
32 TestHttpBridgeFactory::~TestHttpBridgeFactory() {} 32 TestHttpBridgeFactory::~TestHttpBridgeFactory() {}
33 33
34 void TestHttpBridgeFactory::Init(const std::string& user_agent) {} 34 void TestHttpBridgeFactory::Init(
35 const std::string& user_agent,
36 const syncer::BindToTrackerCallback& bind_to_tracker_callback) {}
35 37
36 syncer::HttpPostProviderInterface* TestHttpBridgeFactory::Create() { 38 syncer::HttpPostProviderInterface* TestHttpBridgeFactory::Create() {
37 return new TestHttpBridge(); 39 return new TestHttpBridge();
38 } 40 }
39 41
40 void TestHttpBridgeFactory::Destroy(syncer::HttpPostProviderInterface* http) { 42 void TestHttpBridgeFactory::Destroy(syncer::HttpPostProviderInterface* http) {
41 delete static_cast<TestHttpBridge*>(http); 43 delete static_cast<TestHttpBridge*>(http);
42 } 44 }
43 45
44 } // namespace browser_sync 46 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/test_http_bridge_factory.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698