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/observer_list_threadsafe.h" | 13 #include "base/observer_list_threadsafe.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "chrome/browser/sync/syncable/syncable_id.h" | 16 #include "chrome/browser/sync/syncable/syncable_id.h" |
17 #include "chrome/common/deprecated/event_sys.h" | |
18 #include "chrome/common/deprecated/event_sys-inl.h" | |
19 #include "chrome/common/net/http_return.h" | 17 #include "chrome/common/net/http_return.h" |
20 | 18 |
21 namespace syncable { | 19 namespace syncable { |
22 class WriteTransaction; | 20 class WriteTransaction; |
23 class DirectoryManager; | 21 class DirectoryManager; |
24 } | 22 } |
25 | 23 |
26 namespace sync_pb { | 24 namespace sync_pb { |
27 class ClientToServerMessage; | 25 class ClientToServerMessage; |
28 } | 26 } |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 // settings. | 384 // settings. |
387 bool FillMessageWithShareDetails(sync_pb::ClientToServerMessage* csm, | 385 bool FillMessageWithShareDetails(sync_pb::ClientToServerMessage* csm, |
388 syncable::DirectoryManager* manager, | 386 syncable::DirectoryManager* manager, |
389 const std::string& share); | 387 const std::string& share); |
390 | 388 |
391 std::ostream& operator<<(std::ostream& s, const struct HttpResponse& hr); | 389 std::ostream& operator<<(std::ostream& s, const struct HttpResponse& hr); |
392 | 390 |
393 } // namespace browser_sync | 391 } // namespace browser_sync |
394 | 392 |
395 #endif // CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ | 393 #endif // CHROME_BROWSER_SYNC_ENGINE_NET_SERVER_CONNECTION_MANAGER_H_ |
OLD | NEW |