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/engine/net/http_bridge.h

Issue 2408463002: [Sync] Move network-related code from core/ to engine/net/. (Closed)
Patch Set: Use SyncServerConnectionManager instead of ServerConnectionManagerImpl. Created 4 years, 2 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 | « components/sync/engine/net/DEPS ('k') | components/sync/engine/net/http_bridge.cc » ('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 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 COMPONENTS_SYNC_CORE_HTTP_BRIDGE_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_NET_HTTP_BRIDGE_H_
6 #define COMPONENTS_SYNC_CORE_HTTP_BRIDGE_H_ 6 #define COMPONENTS_SYNC_ENGINE_NET_HTTP_BRIDGE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "base/synchronization/waitable_event.h" 17 #include "base/synchronization/waitable_event.h"
18 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
19 #include "base/timer/timer.h" 19 #include "base/timer/timer.h"
20 #include "components/sync/base/cancelation_observer.h" 20 #include "components/sync/base/cancelation_observer.h"
21 #include "components/sync/core/http_post_provider_factory.h" 21 #include "components/sync/engine/net/http_post_provider_factory.h"
22 #include "components/sync/core/http_post_provider_interface.h" 22 #include "components/sync/engine/net/http_post_provider_interface.h"
23 #include "components/sync/core/network_time_update_callback.h" 23 #include "components/sync/engine/net/network_time_update_callback.h"
24 #include "net/url_request/url_fetcher_delegate.h" 24 #include "net/url_request/url_fetcher_delegate.h"
25 #include "net/url_request/url_request_context.h" 25 #include "net/url_request/url_request_context.h"
26 #include "net/url_request/url_request_context_getter.h" 26 #include "net/url_request/url_request_context_getter.h"
27 #include "url/gurl.h" 27 #include "url/gurl.h"
28 28
29 class HttpBridgeTest; 29 class HttpBridgeTest;
30 30
31 namespace net { 31 namespace net {
32 class HttpResponseHeaders; 32 class HttpResponseHeaders;
33 class HttpUserAgentSettings; 33 class HttpUserAgentSettings;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 // A callback to tag Sync request to be able to record data use of this 224 // A callback to tag Sync request to be able to record data use of this
225 // service by data_use_measurement component. 225 // service by data_use_measurement component.
226 BindToTrackerCallback bind_to_tracker_callback_; 226 BindToTrackerCallback bind_to_tracker_callback_;
227 227
228 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); 228 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory);
229 }; 229 };
230 230
231 } // namespace syncer 231 } // namespace syncer
232 232
233 #endif // COMPONENTS_SYNC_CORE_HTTP_BRIDGE_H_ 233 #endif // COMPONENTS_SYNC_ENGINE_NET_HTTP_BRIDGE_H_
OLDNEW
« no previous file with comments | « components/sync/engine/net/DEPS ('k') | components/sync/engine/net/http_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698