Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: components/sync_sessions/sessions_sync_manager.h

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/sync_sessions/session_data_type_controller_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/sync_sessions/session_data_type_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698