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

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

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [rebase] Created 4 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 ed7d35a6f2b543cecc843aee170ebbe36d0d5cdb..42089fcda3ba97a9c9ea91610eeae54f270bb136 100644
--- a/content/browser/frame_host/navigation_entry_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_entry_impl_unittest.cc
@@ -208,14 +208,12 @@ TEST_F(NavigationEntryTest, NavigationEntryAccessors) {
EXPECT_TRUE(entry2_->GetHasPostData());
// Restored
- EXPECT_EQ(NavigationEntryImpl::RESTORE_NONE, entry1_->restore_type());
+ EXPECT_EQ(RestoreType::NONE, entry1_->restore_type());
EXPECT_FALSE(entry1_->IsRestored());
- EXPECT_EQ(NavigationEntryImpl::RESTORE_NONE, entry2_->restore_type());
+ EXPECT_EQ(RestoreType::NONE, entry2_->restore_type());
EXPECT_FALSE(entry2_->IsRestored());
- entry2_->set_restore_type(
- NavigationEntryImpl::RESTORE_LAST_SESSION_EXITED_CLEANLY);
- EXPECT_EQ(NavigationEntryImpl::RESTORE_LAST_SESSION_EXITED_CLEANLY,
- entry2_->restore_type());
+ entry2_->set_restore_type(RestoreType::LAST_SESSION_EXITED_CLEANLY);
+ EXPECT_EQ(RestoreType::LAST_SESSION_EXITED_CLEANLY, entry2_->restore_type());
EXPECT_TRUE(entry2_->IsRestored());
// Original URL
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.cc ('k') | content/browser/frame_host/navigation_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698