OLD | NEW |
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_PUBLIC_HTTP_BRIDGE_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_HTTP_BRIDGE_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ | 6 #define COMPONENTS_SYNC_CORE_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" |
| 21 #include "components/sync/base/sync_export.h" |
| 22 #include "components/sync/core/http_post_provider_factory.h" |
| 23 #include "components/sync/core/http_post_provider_interface.h" |
| 24 #include "components/sync/core/network_time_update_callback.h" |
20 #include "net/url_request/url_fetcher_delegate.h" | 25 #include "net/url_request/url_fetcher_delegate.h" |
21 #include "net/url_request/url_request_context.h" | 26 #include "net/url_request/url_request_context.h" |
22 #include "net/url_request/url_request_context_getter.h" | 27 #include "net/url_request/url_request_context_getter.h" |
23 #include "sync/base/sync_export.h" | |
24 #include "sync/internal_api/public/base/cancelation_observer.h" | |
25 #include "sync/internal_api/public/http_post_provider_factory.h" | |
26 #include "sync/internal_api/public/http_post_provider_interface.h" | |
27 #include "sync/internal_api/public/network_time_update_callback.h" | |
28 #include "url/gurl.h" | 28 #include "url/gurl.h" |
29 | 29 |
30 class HttpBridgeTest; | 30 class HttpBridgeTest; |
31 | 31 |
32 namespace net { | 32 namespace net { |
33 class HttpResponseHeaders; | 33 class HttpResponseHeaders; |
34 class HttpUserAgentSettings; | 34 class HttpUserAgentSettings; |
35 class URLFetcher; | 35 class URLFetcher; |
36 class URLRequestJobFactory; | 36 class URLRequestJobFactory; |
37 } | 37 } |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ | 233 #endif // COMPONENTS_SYNC_CORE_HTTP_BRIDGE_H_ |
OLD | NEW |