| Index: chrome/browser/android/tab_android.h
|
| diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
|
| index 46edfc58cf83dfc4220c184d337ae07325978dc5..7d514ed17a90ac630b84f400aa27e5f7ec276adc 100644
|
| --- a/chrome/browser/android/tab_android.h
|
| +++ b/chrome/browser/android/tab_android.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/android/jni_helper.h"
|
| #include "base/callback_forward.h"
|
| #include "base/string16.h"
|
| +#include "chrome/browser/sessions/session_id.h"
|
| #include "chrome/browser/ui/toolbar/toolbar_model.h"
|
|
|
| class GURL;
|
| @@ -39,11 +40,12 @@ class TabAndroid {
|
|
|
| virtual browser_sync::SyncedTabDelegate* GetSyncedTabDelegate() = 0;
|
|
|
| + virtual int64 GetSyncSessionId() = 0;
|
| + virtual void SetSyncSessionId(int64 sync_id) = 0;
|
| +
|
| virtual ToolbarModel::SecurityLevel GetSecurityLevel();
|
|
|
| - int id() const {
|
| - return tab_id_;
|
| - }
|
| + const SessionID& id() const { return tab_id_; }
|
|
|
| virtual void OnReceivedHttpAuthRequest(jobject auth_handler,
|
| const string16& host,
|
| @@ -81,7 +83,7 @@ class TabAndroid {
|
| static content::WebContents* InitWebContentsFromView(JNIEnv* env,
|
| jobject content_view);
|
|
|
| - int tab_id_;
|
| + SessionID tab_id_;
|
|
|
| private:
|
| JavaObjectWeakGlobalRef weak_java_tab_;
|
|
|