Chromium Code Reviews| 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_; |