diff options
Diffstat (limited to 'content/browser/tab_contents/navigation_controller_unittest.cc')
-rw-r--r-- | content/browser/tab_contents/navigation_controller_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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()); |