| 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> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 class SessionWindow; | 47 class SessionWindow; |
| 48 class TabNavigation; | 48 class TabNavigation; |
| 49 } // namespace sync_pb | 49 } // namespace sync_pb |
| 50 | 50 |
| 51 namespace extensions { | 51 namespace extensions { |
| 52 class ExtensionSessionsTest; | 52 class ExtensionSessionsTest; |
| 53 } // namespace extensions | 53 } // namespace extensions |
| 54 | 54 |
| 55 namespace browser_sync { | 55 namespace browser_sync { |
| 56 | 56 |
| 57 class DataTypeErrorHandler; | |
| 58 class SyncedTabDelegate; | 57 class SyncedTabDelegate; |
| 59 class SyncedWindowDelegatesGetter; | 58 class SyncedWindowDelegatesGetter; |
| 60 | 59 |
| 61 // Contains all logic for associating the Chrome sessions model and | 60 // Contains all logic for associating the Chrome sessions model and |
| 62 // the sync sessions model. | 61 // the sync sessions model. |
| 63 class SessionsSyncManager : public syncer::SyncableService, | 62 class SessionsSyncManager : public syncer::SyncableService, |
| 64 public sync_driver::OpenTabsUIDelegate, | 63 public sync_driver::OpenTabsUIDelegate, |
| 65 public LocalSessionEventHandler { | 64 public LocalSessionEventHandler { |
| 66 public: | 65 public: |
| 67 SessionsSyncManager(sync_sessions::SyncSessionsClient* sessions_client, | 66 SessionsSyncManager(sync_sessions::SyncSessionsClient* sessions_client, |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 376 |
| 378 // Callback to inform sync that a sync data refresh is requested. | 377 // Callback to inform sync that a sync data refresh is requested. |
| 379 base::Closure datatype_refresh_callback_; | 378 base::Closure datatype_refresh_callback_; |
| 380 | 379 |
| 381 DISALLOW_COPY_AND_ASSIGN(SessionsSyncManager); | 380 DISALLOW_COPY_AND_ASSIGN(SessionsSyncManager); |
| 382 }; | 381 }; |
| 383 | 382 |
| 384 } // namespace browser_sync | 383 } // namespace browser_sync |
| 385 | 384 |
| 386 #endif // COMPONENTS_SYNC_SESSIONS_SESSIONS_SYNC_MANAGER_H_ | 385 #endif // COMPONENTS_SYNC_SESSIONS_SESSIONS_SYNC_MANAGER_H_ |
| OLD | NEW |