OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "net/base/network_change_notifier.h" | 11 #include "net/base/network_change_notifier.h" |
12 #include "sync/engine/all_status.h" | 12 #include "sync/engine/all_status.h" |
13 #include "sync/engine/net/server_connection_manager.h" | 13 #include "sync/engine/net/server_connection_manager.h" |
14 #include "sync/engine/sync_engine_event.h" | 14 #include "sync/engine/sync_engine_event.h" |
15 #include "sync/engine/throttled_data_type_tracker.h" | 15 #include "sync/engine/throttled_data_type_tracker.h" |
16 #include "sync/engine/traffic_recorder.h" | 16 #include "sync/engine/traffic_recorder.h" |
17 #include "sync/internal_api/change_reorder_buffer.h" | 17 #include "sync/internal_api/change_reorder_buffer.h" |
18 #include "sync/internal_api/debug_info_event_listener.h" | 18 #include "sync/internal_api/debug_info_event_listener.h" |
19 #include "sync/internal_api/js_mutation_event_observer.h" | 19 #include "sync/internal_api/js_mutation_event_observer.h" |
20 #include "sync/internal_api/js_sync_encryption_handler_observer.h" | 20 #include "sync/internal_api/js_sync_encryption_handler_observer.h" |
21 #include "sync/internal_api/js_sync_manager_observer.h" | 21 #include "sync/internal_api/js_sync_manager_observer.h" |
22 #include "sync/internal_api/public/sync_manager.h" | 22 #include "sync/internal_api/public/sync_manager.h" |
| 23 #include "sync/internal_api/public/util/time.h" |
23 #include "sync/internal_api/sync_encryption_handler_impl.h" | 24 #include "sync/internal_api/sync_encryption_handler_impl.h" |
24 #include "sync/js/js_backend.h" | 25 #include "sync/js/js_backend.h" |
25 #include "sync/notifier/invalidation_handler.h" | 26 #include "sync/notifier/invalidation_handler.h" |
26 #include "sync/notifier/invalidator_state.h" | 27 #include "sync/notifier/invalidator_state.h" |
27 #include "sync/syncable/directory_change_delegate.h" | 28 #include "sync/syncable/directory_change_delegate.h" |
28 #include "sync/util/cryptographer.h" | 29 #include "sync/util/cryptographer.h" |
29 #include "sync/util/time.h" | |
30 | 30 |
31 namespace syncer { | 31 namespace syncer { |
32 | 32 |
33 class SyncAPIServerConnectionManager; | 33 class SyncAPIServerConnectionManager; |
34 class WriteNode; | 34 class WriteNode; |
35 class WriteTransaction; | 35 class WriteTransaction; |
36 | 36 |
37 namespace sessions { | 37 namespace sessions { |
38 class SyncSessionContext; | 38 class SyncSessionContext; |
39 } | 39 } |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 // changing passphrases, and in general handles sync-specific interactions | 376 // changing passphrases, and in general handles sync-specific interactions |
377 // with the cryptographer. | 377 // with the cryptographer. |
378 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 378 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
379 | 379 |
380 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 380 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
381 }; | 381 }; |
382 | 382 |
383 } // namespace syncer | 383 } // namespace syncer |
384 | 384 |
385 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 385 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |