OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SESSIONS_SESSIONS_SYNC_MANAGER_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_SESSIONS_SYNC_MANAGER_H_ |
6 #define COMPONENTS_SYNC_SESSIONS_SESSIONS_SYNC_MANAGER_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_SESSIONS_SYNC_MANAGER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/callback_forward.h" | 16 #include "base/callback_forward.h" |
17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
20 #include "base/time/time.h" | 20 #include "base/time/time.h" |
21 #include "components/sessions/core/session_id.h" | 21 #include "components/sessions/core/session_id.h" |
22 #include "components/sessions/core/session_types.h" | 22 #include "components/sessions/core/session_types.h" |
23 #include "components/sync/api/syncable_service.h" | 23 #include "components/sync/api/syncable_service.h" |
24 #include "components/sync_driver/device_info.h" | 24 #include "components/sync/driver/device_info.h" |
25 #include "components/sync_driver/sync_prefs.h" | 25 #include "components/sync/driver/sync_prefs.h" |
26 #include "components/sync_sessions/favicon_cache.h" | 26 #include "components/sync_sessions/favicon_cache.h" |
27 #include "components/sync_sessions/local_session_event_router.h" | 27 #include "components/sync_sessions/local_session_event_router.h" |
28 #include "components/sync_sessions/open_tabs_ui_delegate.h" | 28 #include "components/sync_sessions/open_tabs_ui_delegate.h" |
29 #include "components/sync_sessions/revisit/page_revisit_broadcaster.h" | 29 #include "components/sync_sessions/revisit/page_revisit_broadcaster.h" |
30 #include "components/sync_sessions/synced_session.h" | 30 #include "components/sync_sessions/synced_session.h" |
31 #include "components/sync_sessions/synced_session_tracker.h" | 31 #include "components/sync_sessions/synced_session_tracker.h" |
32 #include "components/sync_sessions/tab_node_pool.h" | 32 #include "components/sync_sessions/tab_node_pool.h" |
33 | 33 |
34 namespace syncer { | 34 namespace syncer { |
35 class SyncErrorFactory; | 35 class SyncErrorFactory; |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 | 377 |
378 // Callback to inform sync that a sync data refresh is requested. | 378 // Callback to inform sync that a sync data refresh is requested. |
379 base::Closure datatype_refresh_callback_; | 379 base::Closure datatype_refresh_callback_; |
380 | 380 |
381 DISALLOW_COPY_AND_ASSIGN(SessionsSyncManager); | 381 DISALLOW_COPY_AND_ASSIGN(SessionsSyncManager); |
382 }; | 382 }; |
383 | 383 |
384 } // namespace browser_sync | 384 } // namespace browser_sync |
385 | 385 |
386 #endif // COMPONENTS_SYNC_SESSIONS_SESSIONS_SYNC_MANAGER_H_ | 386 #endif // COMPONENTS_SYNC_SESSIONS_SESSIONS_SYNC_MANAGER_H_ |
OLD | NEW |