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

Unified Diff: content/browser/frame_host/navigation_entry_impl.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.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index ac1876b50e6d1a0c72224b022a6de45340b8de0b..31b1d508e8ee0a7f70a5fdbc9a28b5e169c5d57e 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -252,7 +252,7 @@ NavigationEntryImpl::NavigationEntryImpl(
title_(title),
page_id_(page_id),
transition_type_(transition_type),
- restore_type_(RESTORE_NONE),
+ restore_type_(RestoreType::NONE),
is_overriding_user_agent_(false),
http_status_code_(0),
is_renderer_initiated_(is_renderer_initiated),
@@ -556,7 +556,7 @@ const std::vector<GURL>& NavigationEntryImpl::GetRedirectChain() const {
}
bool NavigationEntryImpl::IsRestored() const {
- return restore_type_ != RESTORE_NONE;
+ return restore_type_ != RestoreType::NONE;
}
void NavigationEntryImpl::SetCanLoadLocalResources(bool allow) {
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.h ('k') | content/browser/frame_host/navigation_entry_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698