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

Unified Diff: chrome/test/base/test_tab_strip_model_observer.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/test/base/test_html_dialog_observer.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/test_tab_strip_model_observer.cc
===================================================================
--- chrome/test/base/test_tab_strip_model_observer.cc (revision 116288)
+++ chrome/test/base/test_tab_strip_model_observer.cc (working copy)
@@ -12,6 +12,8 @@
#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/notification_source.h"
+using content::NavigationController;
+
TestTabStripModelObserver::TestTabStripModelObserver(
TabStripModel* tab_strip_model,
JsInjectionReadyObserver* js_injection_ready_observer)
@@ -42,7 +44,7 @@
TabContentsWrapper* preview_tab =
tab_controller->GetPrintPreviewForTab(contents);
if (preview_tab) {
- RegisterAsObserver(content::Source<content::NavigationController>(
+ RegisterAsObserver(content::Source<NavigationController>(
&preview_tab->web_contents()->GetController()));
}
}
« no previous file with comments | « chrome/test/base/test_html_dialog_observer.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698