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

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

Issue 8983012: Get rid of content::NavigationController in cc file and use "using" instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 12 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/sessions/session_restore.cc ('k') | chrome/browser/sidebar/sidebar_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/tab_restore_service.cc
===================================================================
--- chrome/browser/sessions/tab_restore_service.cc (revision 116288)
+++ chrome/browser/sessions/tab_restore_service.cc (working copy)
@@ -32,6 +32,7 @@
#include "content/public/browser/navigation_entry.h"
using base::Time;
+using content::NavigationController;
using content::NavigationEntry;
using content::WebContents;
@@ -218,7 +219,7 @@
observer_list_.RemoveObserver(observer);
}
-void TabRestoreService::CreateHistoricalTab(content::NavigationController* tab,
+void TabRestoreService::CreateHistoricalTab(NavigationController* tab,
int index) {
if (restoring_)
return;
@@ -486,7 +487,7 @@
void TabRestoreService::PopulateTab(Tab* tab,
int index,
TabRestoreServiceDelegate* delegate,
- content::NavigationController* controller) {
+ NavigationController* controller) {
const int pending_index = controller->GetPendingEntryIndex();
int entry_count = controller->GetEntryCount();
if (entry_count == 0 && pending_index == 0)
« no previous file with comments | « chrome/browser/sessions/session_restore.cc ('k') | chrome/browser/sidebar/sidebar_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698