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

Unified Diff: content/browser/tab_contents/interstitial_page.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 | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/tab_contents/navigation_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/interstitial_page.cc
===================================================================
--- content/browser/tab_contents/interstitial_page.cc (revision 116288)
+++ content/browser/tab_contents/interstitial_page.cc (working copy)
@@ -34,6 +34,7 @@
#include "net/url_request/url_request_context_getter.h"
using content::BrowserThread;
+using content::NavigationController;
using content::NavigationEntry;
using content::NavigationEntryImpl;
using content::WebContents;
@@ -211,9 +212,9 @@
content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
content::Source<WebContents>(tab_));
notification_registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
- content::Source<content::NavigationController>(&tab_->GetController()));
+ content::Source<NavigationController>(&tab_->GetController()));
notification_registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_PENDING,
- content::Source<content::NavigationController>(&tab_->GetController()));
+ content::Source<NavigationController>(&tab_->GetController()));
}
void InterstitialPage::Hide() {
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/tab_contents/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698