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

Unified Diff: chrome/browser/sessions/session_tab_helper.h

Issue 15499005: Add a new SyncedTabDelegate for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/sessions/session_tab_helper.h
diff --git a/chrome/browser/sessions/session_tab_helper.h b/chrome/browser/sessions/session_tab_helper.h
index 2fe66696dcf4d74fb0f23ae73d95e3bf70818c23..163c90fe7a3787e348c6dd760543c20ef4308830 100644
--- a/chrome/browser/sessions/session_tab_helper.h
+++ b/chrome/browser/sessions/session_tab_helper.h
@@ -19,6 +19,7 @@ class SessionTabHelper : public content::WebContentsObserver,
// Returns the identifier used by session restore for this tab.
const SessionID& session_id() const { return session_id_; }
+ void SetSessionId(const SessionID& id);
sky 2013/05/21 04:53:01 Why do you need to dynamically change the session
shashi 2013/05/21 05:16:35 Sorry my intent is not to dynamically change but t
sky 2013/05/21 15:00:44 Is it possible to lookup the id you want to assign
shashi 2013/05/21 16:01:13 The id I want to assign is TabAndroid id, I don't
shashi 2013/05/21 23:11:21 Done.
// Identifier of the window the tab is in.
void SetWindowID(const SessionID& id);
@@ -36,7 +37,7 @@ class SessionTabHelper : public content::WebContentsObserver,
// Unique identifier of the tab for session restore. This id is only unique
// within the current session, and is not guaranteed to be unique across
// sessions.
- const SessionID session_id_;
+ SessionID session_id_;
// Unique identifier of the window the tab is in.
SessionID window_id_;

Powered by Google App Engine
This is Rietveld 408576698