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

Unified Diff: chrome/test/base/browser_with_test_window_test.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/ui/webui/web_ui_unittest.cc ('k') | chrome/test/base/test_html_dialog_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/browser_with_test_window_test.cc
===================================================================
--- chrome/test/base/browser_with_test_window_test.cc (revision 116288)
+++ chrome/test/base/browser_with_test_window_test.cc (working copy)
@@ -20,6 +20,7 @@
#include "content/public/common/page_transition_types.h"
using content::BrowserThread;
+using content::NavigationController;
using content::WebContents;
BrowserWithTestWindowTest::BrowserWithTestWindowTest()
@@ -72,7 +73,7 @@
}
void BrowserWithTestWindowTest::CommitPendingLoad(
- content::NavigationController* controller) {
+ NavigationController* controller) {
if (!controller->GetPendingEntry())
return; // Nothing to commit.
@@ -115,7 +116,7 @@
}
void BrowserWithTestWindowTest::NavigateAndCommit(
- content::NavigationController* controller,
+ NavigationController* controller,
const GURL& url) {
controller->LoadURL(
url, content::Referrer(), content::PAGE_TRANSITION_LINK, std::string());
« no previous file with comments | « chrome/browser/ui/webui/web_ui_unittest.cc ('k') | chrome/test/base/test_html_dialog_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698