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

Unified Diff: chrome/browser/android/tab_android.h

Issue 16421003: [Sync] Add logic to reassociate tab nodes after restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit. Created 7 years, 6 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
« no previous file with comments | « chrome/android/testshell/testshell_tab.cc ('k') | chrome/browser/sync/glue/session_model_associator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index 7f7d7389dda0a15cc914519d41e41d270d3bd2c4..9e39a67731ee330ae8fa35c1da878ea224ea4ff1 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -81,7 +81,12 @@ class TabAndroid {
// derived classes may remove their implementation first.
virtual void RunExternalProtocolDialog(const GURL& url);
+ // Used by sync to get/set the sync id of tab.
+ virtual int64 GetSyncId() const = 0;
+ virtual void SetSyncId(int64 sync_id) = 0;
+
static bool RegisterTabAndroid(JNIEnv* env);
+
protected:
virtual ~TabAndroid();
« no previous file with comments | « chrome/android/testshell/testshell_tab.cc ('k') | chrome/browser/sync/glue/session_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698