| Index: chrome/browser/sessions/session_tab_helper.h
|
| diff --git a/chrome/browser/sessions/restore_tab_helper.h b/chrome/browser/sessions/session_tab_helper.h
|
| similarity index 71%
|
| rename from chrome/browser/sessions/restore_tab_helper.h
|
| rename to chrome/browser/sessions/session_tab_helper.h
|
| index 4fea42b08d60a3e78209946cf971a18c3823fae0..8c30656128f693afcc92f10b642a2dc441a1c8a8 100644
|
| --- a/chrome/browser/sessions/restore_tab_helper.h
|
| +++ b/chrome/browser/sessions/session_tab_helper.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_SESSIONS_RESTORE_TAB_HELPER_H_
|
| -#define CHROME_BROWSER_SESSIONS_RESTORE_TAB_HELPER_H_
|
| +#ifndef CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_
|
| +#define CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "chrome/browser/sessions/session_id.h"
|
| @@ -11,10 +11,10 @@
|
|
|
| // This class keeps the extension API's windowID up-to-date with the current
|
| // window of the tab.
|
| -class RestoreTabHelper : public content::WebContentsObserver {
|
| +class SessionTabHelper : public content::WebContentsObserver {
|
| public:
|
| - explicit RestoreTabHelper(content::WebContents* contents);
|
| - virtual ~RestoreTabHelper();
|
| + explicit SessionTabHelper(content::WebContents* contents);
|
| + virtual ~SessionTabHelper();
|
|
|
| // Returns the identifier used by session restore for this tab.
|
| const SessionID& session_id() const { return session_id_; }
|
| @@ -26,6 +26,7 @@ class RestoreTabHelper : public content::WebContentsObserver {
|
| // content::WebContentsObserver:
|
| virtual void RenderViewCreated(
|
| content::RenderViewHost* render_view_host) OVERRIDE;
|
| + virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE;
|
|
|
| private:
|
| // Unique identifier of the tab for session restore. This id is only unique
|
| @@ -36,7 +37,7 @@ class RestoreTabHelper : public content::WebContentsObserver {
|
| // Unique identifier of the window the tab is in.
|
| SessionID window_id_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(RestoreTabHelper);
|
| + DISALLOW_COPY_AND_ASSIGN(SessionTabHelper);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_SESSIONS_RESTORE_TAB_HELPER_H_
|
| +#endif // CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_
|
|
|