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

Issue 2467833002: Implement redirect handling on MojoAsyncResourceHandler (Closed)

Created:
4 years, 1 month ago by yhirano
Modified:
4 years, 1 month ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, kinuko+watch, jsbell+serviceworker_chromium.org, tzik, jam, abarth-chromium, darin-cc_chromium.org, loading-reviews_chromium.org, blink-worker-reviews_chromium.org, mlamouri+watch-content_chromium.org, Randy Smith (Not in Mondays), nhiroki, blink-reviews, michaeln, shimazu+serviceworker_chromium.org, serviceworker-reviews, Aaron Boodman, kinuko+serviceworker, horo+watch_chromium.org, darin (slow to review), mmenke, Ken Rockot(use gerrit already)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement redirect handling on MojoAsyncResourceHandler This CL introduces redirect handling for loading with mojo. BUG=603396 Committed: https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576 Cr-Commit-Position: refs/heads/master@{#432447}

Patch Set 1 : fix #

Patch Set 2 : fix #

Total comments: 15

Patch Set 3 : fix #

Patch Set 4 : imported #

Patch Set 5 : rebase #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : fix #

Total comments: 2

Patch Set 8 : fix #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -82 lines) Patch
M content/browser/loader/mojo_async_resource_handler.h View 1 2 3 4 5 6 7 4 chunks +5 lines, -6 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler.cc View 1 2 3 4 5 6 7 7 chunks +66 lines, -36 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 1 2 3 4 5 6 7 4 chunks +76 lines, -1 line 0 comments Download
M content/browser/loader/test_url_loader_client.h View 1 2 5 chunks +11 lines, -1 line 0 comments Download
M content/browser/loader/test_url_loader_client.cc View 1 2 4 chunks +30 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/resource_dispatcher.cc View 2 chunks +16 lines, -2 lines 0 comments Download
M content/common/typemaps.gni View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/url_loader.mojom View 3 4 2 chunks +7 lines, -0 lines 0 comments Download
A content/common/url_request_redirect_info.typemap View 1 1 chunk +12 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 2 3 4 chunks +24 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -14 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 121 (102 generated)
yhirano
4 years, 1 month ago (2016-11-09 07:43:37 UTC) #62
tzik
lgtm
4 years, 1 month ago (2016-11-10 05:58:55 UTC) #66
yhirano
+mmenke@ for content/browser/loader. +horo@ for content/{browser, renderer}/service_worker. +nasko@ for content not covered above. +dcheng@ for ...
4 years, 1 month ago (2016-11-10 06:18:00 UTC) #68
dcheng
https://codereview.chromium.org/2467833002/diff/270001/content/browser/loader/mojo_async_resource_handler.cc File content/browser/loader/mojo_async_resource_handler.cc (right): https://codereview.chromium.org/2467833002/diff/270001/content/browser/loader/mojo_async_resource_handler.cc#newcode268 content/browser/loader/mojo_async_resource_handler.cc:268: DCHECK(did_defer_); Is it safe to allow this to be ...
4 years, 1 month ago (2016-11-10 07:09:27 UTC) #69
horo
https://codereview.chromium.org/2467833002/diff/270001/content/renderer/service_worker/service_worker_context_client.cc File content/renderer/service_worker/service_worker_context_client.cc (right): https://codereview.chromium.org/2467833002/diff/270001/content/renderer/service_worker/service_worker_context_client.cc#newcode289 content/renderer/service_worker/service_worker_context_client.cc:289: url_loader_ = nullptr; We should provide more specific error ...
4 years, 1 month ago (2016-11-10 11:57:26 UTC) #70
mmenke
https://codereview.chromium.org/2467833002/diff/270001/content/browser/loader/mojo_async_resource_handler.cc File content/browser/loader/mojo_async_resource_handler.cc (right): https://codereview.chromium.org/2467833002/diff/270001/content/browser/loader/mojo_async_resource_handler.cc#newcode268 content/browser/loader/mojo_async_resource_handler.cc:268: DCHECK(did_defer_); On 2016/11/10 07:09:27, dcheng wrote: > Is it ...
4 years, 1 month ago (2016-11-10 21:42:41 UTC) #71
yhirano
https://codereview.chromium.org/2467833002/diff/270001/content/browser/loader/mojo_async_resource_handler.cc File content/browser/loader/mojo_async_resource_handler.cc (right): https://codereview.chromium.org/2467833002/diff/270001/content/browser/loader/mojo_async_resource_handler.cc#newcode268 content/browser/loader/mojo_async_resource_handler.cc:268: DCHECK(did_defer_); On 2016/11/10 21:42:40, mmenke wrote: > On 2016/11/10 ...
4 years, 1 month ago (2016-11-11 09:47:04 UTC) #82
horo
service_worker: lgtm
4 years, 1 month ago (2016-11-11 14:53:05 UTC) #83
mmenke
https://codereview.chromium.org/2467833002/diff/330001/content/browser/loader/mojo_async_resource_handler.cc File content/browser/loader/mojo_async_resource_handler.cc (right): https://codereview.chromium.org/2467833002/diff/330001/content/browser/loader/mojo_async_resource_handler.cc#newcode274 content/browser/loader/mojo_async_resource_handler.cc:274: controller()->Cancel(); Seems like we should have a test for ...
4 years, 1 month ago (2016-11-11 15:47:18 UTC) #84
yhirano
https://codereview.chromium.org/2467833002/diff/330001/content/browser/loader/mojo_async_resource_handler.cc File content/browser/loader/mojo_async_resource_handler.cc (right): https://codereview.chromium.org/2467833002/diff/330001/content/browser/loader/mojo_async_resource_handler.cc#newcode274 content/browser/loader/mojo_async_resource_handler.cc:274: controller()->Cancel(); On 2016/11/11 15:47:17, mmenke wrote: > Seems like ...
4 years, 1 month ago (2016-11-14 08:56:05 UTC) #99
mmenke
content/browser/loader LGTM
4 years, 1 month ago (2016-11-14 15:36:14 UTC) #102
yhirano
+avi@ as a content OWNER.
4 years, 1 month ago (2016-11-14 16:09:59 UTC) #104
Avi (use Gerrit)
lgtm stampity stamp
4 years, 1 month ago (2016-11-14 16:13:18 UTC) #105
dcheng
https://codereview.chromium.org/2467833002/diff/410001/content/browser/loader/mojo_async_resource_handler.cc File content/browser/loader/mojo_async_resource_handler.cc (right): https://codereview.chromium.org/2467833002/diff/410001/content/browser/loader/mojo_async_resource_handler.cc#newcode278 content/browser/loader/mojo_async_resource_handler.cc:278: DCHECK(!did_defer_on_writing_); So in general, loading is a large state ...
4 years, 1 month ago (2016-11-15 07:41:41 UTC) #106
yhirano
https://codereview.chromium.org/2467833002/diff/410001/content/browser/loader/mojo_async_resource_handler.cc File content/browser/loader/mojo_async_resource_handler.cc (right): https://codereview.chromium.org/2467833002/diff/410001/content/browser/loader/mojo_async_resource_handler.cc#newcode278 content/browser/loader/mojo_async_resource_handler.cc:278: DCHECK(!did_defer_on_writing_); On 2016/11/15 07:41:41, dcheng wrote: > So in ...
4 years, 1 month ago (2016-11-15 08:08:24 UTC) #109
dcheng
mojo lgtm cc +rockot, because I'm curious if there's a better way to detect a ...
4 years, 1 month ago (2016-11-15 08:19:13 UTC) #110
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/2467833002/450001
4 years, 1 month ago (2016-11-16 09:01:00 UTC) #117
commit-bot: I haz the power
Committed patchset #9 (id:450001)
4 years, 1 month ago (2016-11-16 09:43:20 UTC) #119
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 09:47:00 UTC) #121
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576
Cr-Commit-Position: refs/heads/master@{#432447}

Powered by Google App Engine
This is Rietveld 408576698