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

Unified Diff: content/browser/frame_host/navigation_entry_impl_unittest.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
Index: content/browser/frame_host/navigation_entry_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_entry_impl_unittest.cc b/content/browser/frame_host/navigation_entry_impl_unittest.cc
index 79768019179eadb0d9c83ca4d7c2637f6b86fee2..8dae01b222228262f265a21e72aeaec7a177a68c 100644
--- a/content/browser/frame_host/navigation_entry_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_entry_impl_unittest.cc
@@ -31,7 +31,7 @@ class NavigationEntryTest : public testing::Test {
GURL("test:url"),
Referrer(GURL("from"), blink::WebReferrerPolicyDefault),
ASCIIToUTF16("title"),
- PAGE_TRANSITION_TYPED,
+ ui::PAGE_TRANSITION_TYPED,
false));
}
@@ -156,10 +156,10 @@ TEST_F(NavigationEntryTest, NavigationEntryAccessors) {
EXPECT_EQ(2, entry2_->GetPageID());
// Transition type
- EXPECT_EQ(PAGE_TRANSITION_LINK, entry1_->GetTransitionType());
- EXPECT_EQ(PAGE_TRANSITION_TYPED, entry2_->GetTransitionType());
- entry2_->SetTransitionType(PAGE_TRANSITION_RELOAD);
- EXPECT_EQ(PAGE_TRANSITION_RELOAD, entry2_->GetTransitionType());
+ EXPECT_EQ(ui::PAGE_TRANSITION_LINK, entry1_->GetTransitionType());
+ EXPECT_EQ(ui::PAGE_TRANSITION_TYPED, entry2_->GetTransitionType());
+ entry2_->SetTransitionType(ui::PAGE_TRANSITION_RELOAD);
+ EXPECT_EQ(ui::PAGE_TRANSITION_RELOAD, entry2_->GetTransitionType());
// Is renderer initiated
EXPECT_FALSE(entry1_->is_renderer_initiated());
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.cc ('k') | content/browser/frame_host/navigation_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698