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..9279c0d278c2b699e2c48b4b390c56a8806a9e2f 100644 |
--- a/chrome/browser/sessions/session_tab_helper.h |
+++ b/chrome/browser/sessions/session_tab_helper.h |
@@ -17,6 +17,10 @@ class SessionTabHelper : public content::WebContentsObserver, |
public: |
virtual ~SessionTabHelper(); |
+ // Create for WebContents with identifier |id|. |
+ static void CreateForWebContentsWithId(content::WebContents* contents, |
+ const SessionID& id); |
+ |
// Returns the identifier used by session restore for this tab. |
const SessionID& session_id() const { return session_id_; } |
@@ -36,7 +40,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_; |