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

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, 4 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 c3e45e6bc5b4b8d299c65c68aef0d7c2102d8d92..28d7eb08e5641f1415da119c990a66ae380a1fea 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) {

Powered by Google App Engine
This is Rietveld 408576698