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

Issue 1418003006: Simplify starting a navigation (Closed)

Created:
5 years, 1 month ago by Nate Chapin
Modified:
5 years, 1 month ago
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, jochen+watch_chromium.org, loading-reviews_chromium.org, loading-reviews+fetch_chromium.org, mlamouri+watch-test-runner_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify starting a navigation Remove a whole bunch of accumulated technical debt in DocumentLoader and core/fetch/ related to starting a navigation and handling redirects. BUG= Committed: https://crrev.com/83a52878976eaffc8753993a7689c9c178664fba Cr-Commit-Position: refs/heads/master@{#358420}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 15

Patch Set 6 : enum-ify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -144 lines) Patch
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/loading/307-after-303-after-post-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/loading/redirect-methods-expected.txt View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FetchContext.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/FetchContext.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResource.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResource.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 2 3 2 chunks +11 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceLoader.h View 1 2 4 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceLoader.cpp View 1 2 3 chunks +4 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 4 chunks +37 lines, -76 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Nate Chapin
jochen, are you up for reviewing this? It's a bit bigger than I intended, but ...
5 years, 1 month ago (2015-11-04 22:13:10 UTC) #3
jochen (gone - plz use gerrit)
this code is weird :-/ lgtm anyway https://codereview.chromium.org/1418003006/diff/80001/third_party/WebKit/Source/core/fetch/FetchContext.h File third_party/WebKit/Source/core/fetch/FetchContext.h (right): https://codereview.chromium.org/1418003006/diff/80001/third_party/WebKit/Source/core/fetch/FetchContext.h#newcode86 third_party/WebKit/Source/core/fetch/FetchContext.h:86: virtual void ...
5 years, 1 month ago (2015-11-06 05:28:05 UTC) #4
Nate Chapin
https://codereview.chromium.org/1418003006/diff/80001/third_party/WebKit/Source/core/fetch/FetchContext.h File third_party/WebKit/Source/core/fetch/FetchContext.h (right): https://codereview.chromium.org/1418003006/diff/80001/third_party/WebKit/Source/core/fetch/FetchContext.h#newcode86 third_party/WebKit/Source/core/fetch/FetchContext.h:86: virtual void willStartLoadingResource(ResourceRequest&, bool isMainResource); On 2015/11/06 05:28:05, jochen ...
5 years, 1 month ago (2015-11-06 17:42:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418003006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418003006/100001
5 years, 1 month ago (2015-11-06 17:43:50 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/131579)
5 years, 1 month ago (2015-11-06 20:26:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418003006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418003006/100001
5 years, 1 month ago (2015-11-06 21:03:35 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-06 22:05:47 UTC) #13
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/83a52878976eaffc8753993a7689c9c178664fba Cr-Commit-Position: refs/heads/master@{#358420}
5 years, 1 month ago (2015-11-06 22:06:39 UTC) #14
Nate Chapin
5 years, 1 month ago (2015-11-16 18:09:20 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1444413002/ by japhet@chromium.org.

The reason for reverting is: This caused several regressions:
https://code.google.com/p/chromium/issues/detail?id=555914
https://code.google.com/p/chromium/issues/detail?id=553078
https://code.google.com/p/chromium/issues/detail?id=553493.

Powered by Google App Engine
This is Rietveld 408576698