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

Issue 2583123002: Reload: FrameMsg_Navigate_Type cleanup to rename RELOAD_MAIN_RESOURCE (Closed)

Created:
4 years ago by Takashi Toyoshima
Modified:
3 years, 11 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reload: FrameMsg_Navigate_Type cleanup to rename RELOAD_MAIN_RESOURCE To use FrameMsg_Navigate_Type::RELOAD_MAIN_RESOURCE consistently instead of FrameMsg_Navigate_Type::RELOAD in content, rename RELOAD_MAIN_RESOURCE to RELOAD and override old behavior. This change introduces two functional changes: 1. RELOAD_ORIGINAL_REQUEST_URL is changed to revalidate only main resource instead of revalidating all. (in render_frame_impl.cc ReloadFrameLoadTypeFor) 2. In LoadDataURL(), replace flag is set for usual reload operations. This was the original behavior, but unexpectedly changed in newly introduced ReloadMainResource cases. BUG=670232 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Patch Set 1 #

Patch Set 2 : [new year rebase] #

Total comments: 4

Patch Set 3 : replace logic update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -13 lines) Patch
M content/browser/frame_host/navigation_request.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/frame_message_enums.h View 1 chunk +1 line, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
Takashi Toyoshima
please take a look after the holiday vacation. I'd start working at Jan. 10 in ...
4 years ago (2016-12-19 12:24:34 UTC) #8
Takashi Toyoshima
Hi, happy new year. Can you start reviewing this?
3 years, 11 months ago (2017-01-11 06:53:45 UTC) #11
Charlie Reis
Thanks for the ping! Generally looks good, but one concern below. https://codereview.chromium.org/2583123002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (left): ...
3 years, 11 months ago (2017-01-11 18:21:55 UTC) #14
Takashi Toyoshima
https://codereview.chromium.org/2583123002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (left): https://codereview.chromium.org/2583123002/diff/20001/content/renderer/render_frame_impl.cc#oldcode676 content/renderer/render_frame_impl.cc:676: return WebFrameLoadType::Reload; Since FrameMsg_Navigate_Type::RELOAD isn't used any more, this ...
3 years, 11 months ago (2017-01-12 11:11:00 UTC) #15
Charlie Reis
Thanks for the explanations-- LGTM with a few suggestions. https://codereview.chromium.org/2583123002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (left): https://codereview.chromium.org/2583123002/diff/20001/content/renderer/render_frame_impl.cc#oldcode676 content/renderer/render_frame_impl.cc:676: ...
3 years, 11 months ago (2017-01-13 00:19:47 UTC) #16
Takashi Toyoshima
https://codereview.chromium.org/2583123002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (left): https://codereview.chromium.org/2583123002/diff/20001/content/renderer/render_frame_impl.cc#oldcode676 content/renderer/render_frame_impl.cc:676: return WebFrameLoadType::Reload; On 2017/01/13 00:19:47, Charlie Reis wrote: > ...
3 years, 11 months ago (2017-01-13 06:45:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2583123002/40001
3 years, 11 months ago (2017-01-13 06:45:44 UTC) #22
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 11 months ago (2017-01-13 08:37:02 UTC) #25
Takashi Toyoshima
3 years, 11 months ago (2017-01-13 08:42:36 UTC) #26
looks correctly submitted as 63de737e764be064c7a3d28a5463f68abcbde975

Powered by Google App Engine
This is Rietveld 408576698