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

Unified Diff: chrome/browser/history/history_tab_helper.cc

Issue 8956059: Rename NavigationController to NavigationControllerImpl and put it into the content namespace. Al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/history/history_tab_helper.cc
===================================================================
--- chrome/browser/history/history_tab_helper.cc (revision 115900)
+++ chrome/browser/history/history_tab_helper.cc (working copy)
@@ -18,6 +18,8 @@
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/common/frame_navigate_params.h"
+using content::NavigationEntry;
+
HistoryTabHelper::HistoryTabHelper(TabContents* tab_contents)
: content::WebContentsObserver(tab_contents),
received_page_title_(false) {
@@ -35,8 +37,7 @@
GetHistoryService()->AddPage(*add_page_args);
}
-void HistoryTabHelper::UpdateHistoryPageTitle(
- const content::NavigationEntry& entry) {
+void HistoryTabHelper::UpdateHistoryPageTitle(const NavigationEntry& entry) {
HistoryService* hs = GetHistoryService();
if (hs)
hs->SetPageTitle(entry.GetVirtualURL(), entry.GetTitleForDisplay(""));
« no previous file with comments | « chrome/browser/geolocation/geolocation_settings_state_unittest.cc ('k') | chrome/browser/infobars/infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698