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 COMPONENTS_SYNC_ENGINE_IMPL_NET_SERVER_CONNECTION_MANAGER_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_NET_SERVER_CONNECTION_MANAGER_H_ |
6 #define COMPONENTS_SYNC_ENGINE_IMPL_NET_SERVER_CONNECTION_MANAGER_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_NET_SERVER_CONNECTION_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <iosfwd> | 10 #include <iosfwd> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/atomicops.h" | 14 #include "base/atomicops.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
19 #include "base/threading/non_thread_safe.h" | |
20 #include "base/threading/thread_checker.h" | 19 #include "base/threading/thread_checker.h" |
21 #include "components/sync/base/cancelation_observer.h" | 20 #include "components/sync/base/cancelation_observer.h" |
22 #include "components/sync/syncable/syncable_id.h" | 21 #include "components/sync/syncable/syncable_id.h" |
23 | 22 |
24 namespace syncer { | 23 namespace syncer { |
25 | 24 |
26 class CancelationSignal; | 25 class CancelationSignal; |
27 | 26 |
28 static const int32_t kUnsetResponseCode = -1; | 27 static const int32_t kUnsetResponseCode = -1; |
29 static const int32_t kUnsetContentLength = -1; | 28 static const int32_t kUnsetContentLength = -1; |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 bool signal_handler_registered_; | 291 bool signal_handler_registered_; |
293 | 292 |
294 DISALLOW_COPY_AND_ASSIGN(ServerConnectionManager); | 293 DISALLOW_COPY_AND_ASSIGN(ServerConnectionManager); |
295 }; | 294 }; |
296 | 295 |
297 std::ostream& operator<<(std::ostream& s, const struct HttpResponse& hr); | 296 std::ostream& operator<<(std::ostream& s, const struct HttpResponse& hr); |
298 | 297 |
299 } // namespace syncer | 298 } // namespace syncer |
300 | 299 |
301 #endif // COMPONENTS_SYNC_ENGINE_IMPL_NET_SERVER_CONNECTION_MANAGER_H_ | 300 #endif // COMPONENTS_SYNC_ENGINE_IMPL_NET_SERVER_CONNECTION_MANAGER_H_ |
OLD | NEW |