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

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

Issue 2557633003: content::ReloadType cleanup: make NORMAL behave as MAIN_RESOURCE (Closed)
Patch Set: comment update Created 4 years 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/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 44873594afe061d98414abd3f993b87c5ff7d9de..a331651762b26dd58525db07d500b34fd5f4ef53 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -60,8 +60,6 @@ FrameMsg_Navigate_Type::Value GetNavigationType(
ReloadType reload_type) {
switch (reload_type) {
case ReloadType::NORMAL:
- return FrameMsg_Navigate_Type::RELOAD;
- case ReloadType::MAIN_RESOURCE:
return FrameMsg_Navigate_Type::RELOAD_MAIN_RESOURCE;
case ReloadType::BYPASSING_CACHE:
case ReloadType::DISABLE_LOFI_MODE:
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_browsertest.cc ('k') | content/common/frame_message_enums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698