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

Unified Diff: chrome/browser/sessions/session_id.cc

Issue 10891044: RestoreTabHelper > SessionTabHelper, move more session stuff into it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/printing/background_printing_manager.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_id.cc
diff --git a/chrome/browser/sessions/session_id.cc b/chrome/browser/sessions/session_id.cc
index 880f3cd4cf53fa31ae4b10c998a11ef882ac857d..80f690a83f0197dbf4640348da200dbff3cb7530 100644
--- a/chrome/browser/sessions/session_id.cc
+++ b/chrome/browser/sessions/session_id.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/sessions/session_id.h"
-#include "chrome/browser/sessions/restore_tab_helper.h"
+#include "chrome/browser/sessions/session_tab_helper.h"
#include "chrome/browser/ui/tab_contents/tab_contents.h"
static SessionID::id_type next_id = 1;
@@ -14,9 +14,9 @@ SessionID::SessionID() {
}
SessionID::id_type SessionID::IdForTab(const TabContents* tab) {
- return tab ? tab->restore_tab_helper()->session_id().id() : -1;
+ return tab ? tab->session_tab_helper()->session_id().id() : -1;
}
SessionID::id_type SessionID::IdForWindowContainingTab(const TabContents* tab) {
- return tab ? tab->restore_tab_helper()->window_id().id() : -1;
+ return tab ? tab->session_tab_helper()->window_id().id() : -1;
}
« no previous file with comments | « chrome/browser/printing/background_printing_manager.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698