From cdcb1dee07b6c8e7fe968b2a5f4199c9c8fb2323 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Wed, 4 Jan 2012 00:46:20 +0000 Subject: Convert WebContents to return a content::NavigationController instead of the implementation. Update all the headers in chrome to use the interface only. In a subsequent cl, I'll rename the implementation to NavigationControllerImpl and also get rid of content::NavigationController everywhere. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8983010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116244 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_commands_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/browser_commands_unittest.cc') diff --git a/chrome/browser/browser_commands_unittest.cc b/chrome/browser/browser_commands_unittest.cc index 60ccb42..da0b2a0 100644 --- a/chrome/browser/browser_commands_unittest.cc +++ b/chrome/browser/browser_commands_unittest.cc @@ -8,8 +8,8 @@ #include "chrome/common/url_constants.h" #include "chrome/test/base/browser_with_test_window_test.h" #include "chrome/test/base/testing_profile.h" -#include "content/browser/tab_contents/navigation_controller.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" #include "content/test/test_browser_thread.h" @@ -72,7 +72,7 @@ TEST_F(BrowserCommandsTest, DuplicateTab) { ASSERT_EQ(2, browser()->tab_count()); // Verify the stack of urls. - NavigationController& controller = + content::NavigationController& controller = browser()->GetTabContentsAt(1)->GetController(); ASSERT_EQ(3, controller.GetEntryCount()); ASSERT_EQ(2, controller.GetCurrentEntryIndex()); -- cgit v1.1