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

Issue 2772753002: Change FrameLoadTypeReload to take FrameLoadTypeReloadMainResource's behavior (Closed)

Created:
3 years, 9 months ago by Takashi Toyoshima
Modified:
3 years, 9 months ago
Reviewers:
kinuko, haraken, Nate Chapin
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, caseq+blink_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, Yoav Weiss, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, darin-cc_chromium.org, devtools-reviews_chromium.org, blink-reviews, apavlov+blink_chromium.org, kinuko+watch, blink-reviews-api_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change FrameLoadTypeReload to take FrameLoadTypeReloadMainResource's behavior Now newly introduced FrameLoadTypeReloadMainResource is used in major reload code paths by default. To avoid adding wrong usage of Reload, and to clean up loading code, remove existing FrameLoadTypeReload behaviors completely, and change the type to take FrameLoadTypeReloadMainResource's behavior instead. This will result in removing the type FrameLoadTypeReloadMainResource, but it means removing legacy reload behavior actually. BUG=674404 TBR=thakis@chromium.org Review-Url: https://codereview.chromium.org/2772753002 Cr-Commit-Position: refs/heads/master@{#459708} Committed: https://chromium.googlesource.com/chromium/src/+/dac4459e32961172505fc30c395886c1236fe469

Patch Set 1 : remove Reload #

Total comments: 8

Patch Set 2 : mechanical rename from ReloadMainResource to Reload #

Patch Set 3 : rebase #

Patch Set 4 : rebase error fix (replace newly added ReloadMainResource) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -45 lines) Patch
M chrome/renderer/content_settings_observer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/net/net_error_helper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/History.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/Location.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderTypes.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/NavigationScheduler.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/plugins/DOMPluginArray.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/web/AssertMatchingEnums.cpp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 5 chunks +9 lines, -12 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameLoadType.h View 1 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
Takashi Toyoshima
Patch Set 1 -> 2 is mechanical rename. So you could see actual code modifications ...
3 years, 9 months ago (2017-03-23 08:45:43 UTC) #5
Nate Chapin
lgtm
3 years, 9 months ago (2017-03-23 16:56:55 UTC) #6
kinuko
lgtm
3 years, 9 months ago (2017-03-24 00:49:55 UTC) #7
Takashi Toyoshima
Thanks. I'm submitting two other CLs that resolve inspector and data saver issues respectively. I ...
3 years, 9 months ago (2017-03-24 03:29:17 UTC) #8
Takashi Toyoshima
+haraken for modules
3 years, 9 months ago (2017-03-24 06:07:46 UTC) #10
Takashi Toyoshima
TBR=thakis@chromium.org for chrome/ caller side mechanical changes.
3 years, 9 months ago (2017-03-24 06:09:34 UTC) #12
haraken
WebKit LGTM
3 years, 9 months ago (2017-03-24 06:09:45 UTC) #13
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/2772753002/40001
3 years, 9 months ago (2017-03-24 06:13:44 UTC) #16
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/2772753002/60001
3 years, 9 months ago (2017-03-24 06:19:15 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/390521)
3 years, 9 months ago (2017-03-24 07:43:32 UTC) #21
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/2772753002/60001
3 years, 9 months ago (2017-03-27 04:51:25 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 06:16:29 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/dac4459e32961172505fc30c3958...

Powered by Google App Engine
This is Rietveld 408576698