From 64fbfe318caa5ed948b4fc76d20faab443510761 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Tue, 18 Oct 2011 04:37:24 +0000 Subject: Move navigation_types.h from content/common to content/public/browser, and put it in the content namespace. There was no reason for it to be in common since it's only used by browser. I also updated the enum names to match the rest of the enums in the Content API. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8339006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106029 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/tab_contents/navigation_controller_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/browser/tab_contents/navigation_controller_unittest.cc') diff --git a/content/browser/tab_contents/navigation_controller_unittest.cc b/content/browser/tab_contents/navigation_controller_unittest.cc index d897748..3ef5f39 100644 --- a/content/browser/tab_contents/navigation_controller_unittest.cc +++ b/content/browser/tab_contents/navigation_controller_unittest.cc @@ -889,7 +889,7 @@ TEST_F(NavigationControllerTest, Redirect) { EXPECT_TRUE(notifications.Check1AndReset( content::NOTIFICATION_NAV_ENTRY_COMMITTED)); - EXPECT_TRUE(details.type == NavigationType::SAME_PAGE); + EXPECT_TRUE(details.type == content::NAVIGATION_TYPE_SAME_PAGE); EXPECT_EQ(controller().entry_count(), 1); EXPECT_EQ(controller().last_committed_entry_index(), 0); EXPECT_TRUE(controller().GetLastCommittedEntry()); @@ -947,7 +947,7 @@ TEST_F(NavigationControllerTest, PostThenRedirect) { EXPECT_TRUE(notifications.Check1AndReset( content::NOTIFICATION_NAV_ENTRY_COMMITTED)); - EXPECT_TRUE(details.type == NavigationType::SAME_PAGE); + EXPECT_TRUE(details.type == content::NAVIGATION_TYPE_SAME_PAGE); EXPECT_EQ(controller().entry_count(), 1); EXPECT_EQ(controller().last_committed_entry_index(), 0); EXPECT_TRUE(controller().GetLastCommittedEntry()); @@ -994,7 +994,7 @@ TEST_F(NavigationControllerTest, ImmediateRedirect) { EXPECT_TRUE(notifications.Check1AndReset( content::NOTIFICATION_NAV_ENTRY_COMMITTED)); - EXPECT_TRUE(details.type == NavigationType::NEW_PAGE); + EXPECT_TRUE(details.type == content::NAVIGATION_TYPE_NEW_PAGE); EXPECT_EQ(controller().entry_count(), 1); EXPECT_EQ(controller().last_committed_entry_index(), 0); EXPECT_TRUE(controller().GetLastCommittedEntry()); -- cgit v1.1