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

Unified Diff: chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc

Issue 14497003: Moves TabNavigation into components/sessions and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 8 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
Index: chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc b/chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc
index da133deb15551f14fc0ca0327e9df90121132290..c1b202d1190f10b3b61fe101b02ef33f22d8f1da 100644
--- a/chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc
+++ b/chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc
@@ -26,7 +26,7 @@ namespace {
void TabToValue(const TabRestoreService::Tab& tab,
DictionaryValue* dictionary) {
- const TabNavigation& current_navigation =
+ const components::SerializedNavigationEntry& current_navigation =
tab.navigations.at(tab.current_navigation_index);
NewTabUI::SetUrlTitleAndDirection(dictionary, current_navigation.title(),
current_navigation.virtual_url());

Powered by Google App Engine
This is Rietveld 408576698