OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ |
6 #define CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ | 6 #define CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/atomicops.h" | 12 #include "base/atomicops.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
19 #include "chrome/browser/sync/syncable/syncable_id.h" | 19 #include "chrome/browser/sync/syncable/syncable_id.h" |
20 #include "chrome/common/net/http_return.h" | 20 #include "chrome/common/net/http_return.h" |
21 | 21 |
22 namespace syncable { | 22 namespace syncable { |
23 class WriteTransaction; | |
24 class DirectoryManager; | 23 class DirectoryManager; |
25 } | 24 } |
26 | 25 |
27 namespace sync_pb { | 26 namespace sync_pb { |
28 class ClientToServerMessage; | 27 class ClientToServerMessage; |
29 } | 28 } |
30 | 29 |
31 namespace browser_sync { | 30 namespace browser_sync { |
32 | 31 |
33 class ClientToServerMessage; | 32 class ClientToServerMessage; |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 // settings. | 395 // settings. |
397 bool FillMessageWithShareDetails(sync_pb::ClientToServerMessage* csm, | 396 bool FillMessageWithShareDetails(sync_pb::ClientToServerMessage* csm, |
398 syncable::DirectoryManager* manager, | 397 syncable::DirectoryManager* manager, |
399 const std::string& share); | 398 const std::string& share); |
400 | 399 |
401 std::ostream& operator<<(std::ostream& s, const struct HttpResponse& hr); | 400 std::ostream& operator<<(std::ostream& s, const struct HttpResponse& hr); |
402 | 401 |
403 } // namespace browser_sync | 402 } // namespace browser_sync |
404 | 403 |
405 #endif // CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ | 404 #endif // CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ |
OLD | NEW |