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

Unified Diff: components/sync_sessions/sessions_sync_manager.h

Issue 2776633003: Add taskid for navigation, created in session sync (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_sessions/sessions_sync_manager.h
diff --git a/components/sync_sessions/sessions_sync_manager.h b/components/sync_sessions/sessions_sync_manager.h
index d685c65cd42b58f7cb22d4b2b3b6810761165eec..96a98dc46c548f3edc3151e572200b806a9ef2ce 100644
--- a/components/sync_sessions/sessions_sync_manager.h
+++ b/components/sync_sessions/sessions_sync_manager.h
@@ -30,6 +30,7 @@
#include "components/sync_sessions/revisit/page_revisit_broadcaster.h"
#include "components/sync_sessions/synced_session.h"
#include "components/sync_sessions/synced_session_tracker.h"
+#include "components/sync_sessions/task_tracker.h"
namespace syncer {
class LocalDeviceInfoProvider;
@@ -228,7 +229,8 @@ class SessionsSyncManager : public syncer::SyncableService,
// Set |session_tab| from |tab_delegate| and |mtime|.
void SetSessionTabFromDelegate(const SyncedTabDelegate& tab_delegate,
base::Time mtime,
- sessions::SessionTab* session_tab);
+ sessions::SessionTab* session_tab,
+ TabTasks* tab_tasks);
// Sets |variation_ids| field of |session_tab| with the ids of the currently
// assigned variations which should be sent to sync.
@@ -323,6 +325,8 @@ class SessionsSyncManager : public syncer::SyncableService,
// Callback to inform sync that a sync data refresh is requested.
base::Closure datatype_refresh_callback_;
+ TaskTracker task_tracker_;
+
DISALLOW_COPY_AND_ASSIGN(SessionsSyncManager);
};

Powered by Google App Engine
This is Rietveld 408576698