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

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

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
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 #ifndef CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_
6 #define CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ 6 #define CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "sync/internal_api/public/http_post_provider_factory.h" 9 #include "sync/internal_api/public/http_post_provider_factory.h"
10 #include "sync/internal_api/public/http_post_provider_interface.h" 10 #include "sync/internal_api/public/http_post_provider_interface.h"
(...skipping 22 matching lines...) Expand all
33 void Abort() override; 33 void Abort() override;
34 // End syncer::HttpPostProviderInterface implementation. 34 // End syncer::HttpPostProviderInterface implementation.
35 }; 35 };
36 36
37 class TestHttpBridgeFactory : public syncer::HttpPostProviderFactory { 37 class TestHttpBridgeFactory : public syncer::HttpPostProviderFactory {
38 public: 38 public:
39 TestHttpBridgeFactory(); 39 TestHttpBridgeFactory();
40 ~TestHttpBridgeFactory() override; 40 ~TestHttpBridgeFactory() override;
41 41
42 // syncer::HttpPostProviderFactory: 42 // syncer::HttpPostProviderFactory:
43 void Init(const std::string& user_agent) override; 43 void Init(
44 const std::string& user_agent,
45 const syncer::BindToTrackerCallback& bind_to_tracker_callback) override;
44 syncer::HttpPostProviderInterface* Create() override; 46 syncer::HttpPostProviderInterface* Create() override;
45 void Destroy(syncer::HttpPostProviderInterface* http) override; 47 void Destroy(syncer::HttpPostProviderInterface* http) override;
46 }; 48 };
47 49
48 } // namespace browser_sync 50 } // namespace browser_sync
49 51
50 #endif // CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ 52 #endif // CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_core.cc ('k') | chrome/browser/sync/test/test_http_bridge_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698