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

Unified Diff: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.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/ui/omnibox/omnibox_edit_model.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
diff --git a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
index 68808bf33cf74d206e869813e43e08060e9418d5..59474bfc6f1043ca128f2e9390a641c70f4aa027 100644
--- a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
+++ b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h"
#include "chrome/browser/extensions/tab_helper.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"
#include "chrome/common/extensions/extension.h"
#include "content/public/browser/navigation_controller.h"
@@ -21,11 +21,11 @@ TabContentsSyncedTabDelegate::TabContentsSyncedTabDelegate(
TabContentsSyncedTabDelegate::~TabContentsSyncedTabDelegate() {}
SessionID::id_type TabContentsSyncedTabDelegate::GetWindowId() const {
- return tab_contents_->restore_tab_helper()->window_id().id();
+ return tab_contents_->session_tab_helper()->window_id().id();
}
SessionID::id_type TabContentsSyncedTabDelegate::GetSessionId() const {
- return tab_contents_->restore_tab_helper()->session_id().id();
+ return tab_contents_->session_tab_helper()->session_id().id();
}
bool TabContentsSyncedTabDelegate::IsBeingDestroyed() const {
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_model.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698