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

Unified Diff: chrome/browser/sync/glue/synced_tab_delegate.h

Issue 15055003: Do not submit: high level overview patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build. Created 7 years, 7 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: chrome/browser/sync/glue/synced_tab_delegate.h
diff --git a/chrome/browser/sync/glue/synced_tab_delegate.h b/chrome/browser/sync/glue/synced_tab_delegate.h
index 9e56748e035c382cc75a7bb7bcf4afa146adc015..443a25806b452f2657078d7c19f6eb1f6194b16a 100644
--- a/chrome/browser/sync/glue/synced_tab_delegate.h
+++ b/chrome/browser/sync/glue/synced_tab_delegate.h
@@ -25,8 +25,8 @@ class SyncedTabDelegate {
// Methods from TabContents.
- virtual SessionID::id_type GetWindowId() const = 0;
- virtual SessionID::id_type GetSessionId() const = 0;
+ virtual const SessionID& GetWindowId() const = 0;
+ virtual const SessionID& GetSessionId() const = 0;
virtual bool IsBeingDestroyed() const = 0;
virtual Profile* profile() const = 0;
@@ -42,6 +42,9 @@ class SyncedTabDelegate {
virtual content::NavigationEntry* GetPendingEntry() const = 0;
virtual content::NavigationEntry* GetEntryAtIndex(int i) const = 0;
virtual content::NavigationEntry* GetActiveEntry() const = 0;
+ virtual int64 GetSyncSessionId() const = 0;
+ virtual void SetSyncSessionId(const int64 sync_id) = 0;
+ virtual bool IsTabInMemory() const = 0;
virtual bool IsPinned() const = 0;
};

Powered by Google App Engine
This is Rietveld 408576698