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

Side by Side Diff: components/sync/core_impl/syncapi_server_connection_manager.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ 5 #ifndef COMPONENTS_SYNC_CORE_IMPL_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
6 #define SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ 6 #define COMPONENTS_SYNC_CORE_IMPL_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "sync/base/sync_export.h" 14 #include "components/sync/base/sync_export.h"
15 #include "sync/engine/net/server_connection_manager.h" 15 #include "components/sync/engine_impl/net/server_connection_manager.h"
16 16
17 namespace syncer { 17 namespace syncer {
18 18
19 class HttpPostProviderFactory; 19 class HttpPostProviderFactory;
20 class HttpPostProviderInterface; 20 class HttpPostProviderInterface;
21 21
22 // This provides HTTP Post functionality through the interface provided 22 // This provides HTTP Post functionality through the interface provided
23 // to the sync API by the application hosting the syncer backend. 23 // to the sync API by the application hosting the syncer backend.
24 class SyncAPIBridgedConnection : public ServerConnectionManager::Connection { 24 class SyncAPIBridgedConnection : public ServerConnectionManager::Connection {
25 public: 25 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // A factory creating concrete HttpPostProviders for use whenever we need to 73 // A factory creating concrete HttpPostProviders for use whenever we need to
74 // issue a POST to sync servers. 74 // issue a POST to sync servers.
75 std::unique_ptr<HttpPostProviderFactory> post_provider_factory_; 75 std::unique_ptr<HttpPostProviderFactory> post_provider_factory_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager); 77 DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager);
78 }; 78 };
79 79
80 } // namespace syncer 80 } // namespace syncer
81 81
82 #endif // SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ 82 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
OLDNEW
« no previous file with comments | « components/sync/core_impl/syncapi_internal.cc ('k') | components/sync/core_impl/syncapi_server_connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698