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

Side by Side Diff: components/browser_sync/browser/test_http_bridge_factory.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 COMPONENTS_BROWSER_SYNC_BROWSER_TEST_HTTP_BRIDGE_FACTORY_H_ 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_TEST_HTTP_BRIDGE_FACTORY_H_
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_TEST_HTTP_BRIDGE_FACTORY_H_ 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_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 "components/sync/core/http_post_provider_factory.h"
10 #include "sync/internal_api/public/http_post_provider_interface.h" 10 #include "components/sync/core/http_post_provider_interface.h"
11 11
12 namespace browser_sync { 12 namespace browser_sync {
13 13
14 class TestHttpBridge : public syncer::HttpPostProviderInterface { 14 class TestHttpBridge : public syncer::HttpPostProviderInterface {
15 public: 15 public:
16 // Begin syncer::HttpPostProviderInterface implementation: 16 // Begin syncer::HttpPostProviderInterface implementation:
17 void SetExtraRequestHeaders(const char* headers) override {} 17 void SetExtraRequestHeaders(const char* headers) override {}
18 18
19 void SetURL(const char* url, int port) override {} 19 void SetURL(const char* url, int port) override {}
20 20
(...skipping 22 matching lines...) Expand all
43 void Init( 43 void Init(
44 const std::string& user_agent, 44 const std::string& user_agent,
45 const syncer::BindToTrackerCallback& bind_to_tracker_callback) override; 45 const syncer::BindToTrackerCallback& bind_to_tracker_callback) override;
46 syncer::HttpPostProviderInterface* Create() override; 46 syncer::HttpPostProviderInterface* Create() override;
47 void Destroy(syncer::HttpPostProviderInterface* http) override; 47 void Destroy(syncer::HttpPostProviderInterface* http) override;
48 }; 48 };
49 49
50 } // namespace browser_sync 50 } // namespace browser_sync
51 51
52 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_TEST_HTTP_BRIDGE_FACTORY_H_ 52 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_TEST_HTTP_BRIDGE_FACTORY_H_
OLDNEW
« no previous file with comments | « components/browser_sync/browser/profile_sync_test_util.cc ('k') | components/browser_sync/browser/test_profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698