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

Unified Diff: content/browser/tab_contents/navigation_controller_impl_unittest.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
Index: content/browser/tab_contents/navigation_controller_impl_unittest.cc
===================================================================
--- content/browser/tab_contents/navigation_controller_impl_unittest.cc (revision 116288)
+++ content/browser/tab_contents/navigation_controller_impl_unittest.cc (working copy)
@@ -34,6 +34,7 @@
#include "webkit/glue/webkit_glue.h"
using base::Time;
+using content::NavigationController;
using content::NavigationEntry;
using content::NavigationEntryImpl;
using content::WebContents;
@@ -48,13 +49,13 @@
void RegisterForAllNavNotifications(TestNotificationTracker* tracker,
NavigationControllerImpl* controller) {
tracker->ListenFor(content::NOTIFICATION_NAV_ENTRY_COMMITTED,
- content::Source<content::NavigationController>(
+ content::Source<NavigationController>(
controller));
tracker->ListenFor(content::NOTIFICATION_NAV_LIST_PRUNED,
- content::Source<content::NavigationController>(
+ content::Source<NavigationController>(
controller));
tracker->ListenFor(content::NOTIFICATION_NAV_ENTRY_CHANGED,
- content::Source<content::NavigationController>(
+ content::Source<NavigationController>(
controller));
}
@@ -1396,7 +1397,7 @@
explicit PrunedListener(NavigationControllerImpl* controller)
: notification_count_(0) {
registrar_.Add(this, content::NOTIFICATION_NAV_LIST_PRUNED,
- content::Source<content::NavigationController>(controller));
+ content::Source<NavigationController>(controller));
}
virtual void Observe(int type,
« no previous file with comments | « content/browser/tab_contents/navigation_controller_impl.cc ('k') | content/browser/tab_contents/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698