| 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 SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 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/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
| 15 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
| 16 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
| 17 #include "net/url_request/url_fetcher_delegate.h" | 17 #include "net/url_request/url_fetcher_delegate.h" |
| 18 #include "net/url_request/url_request_context.h" | 18 #include "net/url_request/url_request_context.h" |
| 19 #include "net/url_request/url_request_context_getter.h" | 19 #include "net/url_request/url_request_context_getter.h" |
| 20 #include "sync/base/sync_export.h" | 20 #include "sync/base/sync_export.h" |
| 21 #include "sync/internal_api/public/base/cancelation_observer.h" | 21 #include "sync/internal_api/public/base/cancelation_observer.h" |
| 22 #include "sync/internal_api/public/http_post_provider_factory.h" | 22 #include "sync/internal_api/public/http_post_provider_factory.h" |
| 23 #include "sync/internal_api/public/http_post_provider_interface.h" | 23 #include "sync/internal_api/public/http_post_provider_interface.h" |
| 24 #include "sync/internal_api/public/network_time_update_callback.h" | 24 #include "sync/internal_api/public/network_time_update_callback.h" |
| 25 #include "third_party/zlib/zlib.h" |
| 25 #include "url/gurl.h" | 26 #include "url/gurl.h" |
| 26 | 27 |
| 27 class HttpBridgeTest; | 28 class HttpBridgeTest; |
| 28 | 29 |
| 29 namespace base { | 30 namespace base { |
| 30 class MessageLoop; | 31 class MessageLoop; |
| 31 } | 32 } |
| 32 | 33 |
| 33 namespace net { | 34 namespace net { |
| 34 class HttpResponseHeaders; | 35 class HttpResponseHeaders; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 NetworkTimeUpdateCallback network_time_update_callback_; | 216 NetworkTimeUpdateCallback network_time_update_callback_; |
| 216 | 217 |
| 217 CancelationSignal* const cancelation_signal_; | 218 CancelationSignal* const cancelation_signal_; |
| 218 | 219 |
| 219 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); | 220 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); |
| 220 }; | 221 }; |
| 221 | 222 |
| 222 } // namespace syncer | 223 } // namespace syncer |
| 223 | 224 |
| 224 #endif // SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ | 225 #endif // SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ |
| OLD | NEW |