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

Issue 2591383003: Implement SetDefersLoading on content::URLLoaderClientImpl (Closed)

Created:
4 years ago by yhirano
Modified:
3 years, 11 months ago
Reviewers:
kinuko, jam
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement SetDefersLoading on content::URLLoaderClientImpl This CL adds the deferred loading support to URLLoaderClientImpl. BUG=603396 Committed: https://crrev.com/6a0e9c78b3be3955f3abb0d3663f506104845157 Cr-Commit-Position: refs/heads/master@{#440741}

Patch Set 1 : fix #

Patch Set 2 : fix #

Patch Set 3 : fix #

Patch Set 4 : rebase #

Patch Set 5 : fix #

Total comments: 16

Patch Set 6 : fix #

Patch Set 7 : fix #

Total comments: 5

Patch Set 8 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -11 lines) Patch
M content/child/resource_dispatcher.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M content/child/test_request_peer.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/test_request_peer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/url_loader_client_impl.h View 1 2 3 4 5 3 chunks +17 lines, -1 line 0 comments Download
M content/child/url_loader_client_impl.cc View 1 2 3 4 5 6 7 5 chunks +93 lines, -4 lines 0 comments Download
M content/child/url_loader_client_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +217 lines, -0 lines 0 comments Download
M content/child/url_response_body_consumer.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/child/url_response_body_consumer.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -6 lines 0 comments Download

Messages

Total messages: 47 (36 generated)
yhirano
PTAL.
4 years ago (2016-12-22 07:13:20 UTC) #16
yhirano
Comment in https://codereview.chromium.org/2597873002/: https://codereview.chromium.org/2597873002/diff/40001/content/child/url_loade... File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2597873002/diff/40001/content/child/url_loade... content/child/url_loader_client_impl.cc:151: void URLLoaderClientImpl::SetDefersLoading() { Any reason we ...
4 years ago (2016-12-22 07:17:00 UTC) #17
kinuko
https://codereview.chromium.org/2591383003/diff/120001/content/child/resource_dispatcher.cc File content/child/resource_dispatcher.cc (right): https://codereview.chromium.org/2591383003/diff/120001/content/child/resource_dispatcher.cc#newcode563 content/child/resource_dispatcher.cc:563: request_info->url_loader_client->FlushDeferredMessages(); Having two pending queues is confusing, it seems ...
3 years, 12 months ago (2016-12-23 13:11:24 UTC) #26
yhirano
https://codereview.chromium.org/2591383003/diff/120001/content/child/resource_dispatcher.cc File content/child/resource_dispatcher.cc (right): https://codereview.chromium.org/2591383003/diff/120001/content/child/resource_dispatcher.cc#newcode563 content/child/resource_dispatcher.cc:563: request_info->url_loader_client->FlushDeferredMessages(); On 2016/12/23 13:11:23, kinuko wrote: > Having two ...
3 years, 12 months ago (2016-12-26 05:08:35 UTC) #31
kinuko
https://codereview.chromium.org/2591383003/diff/120001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2591383003/diff/120001/content/child/url_loader_client_impl.cc#newcode88 content/child/url_loader_client_impl.cc:88: messages.begin() + index, messages.end()); On 2016/12/26 05:08:35, yhirano wrote: ...
3 years, 12 months ago (2016-12-26 07:21:17 UTC) #32
yhirano
https://codereview.chromium.org/2591383003/diff/120001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2591383003/diff/120001/content/child/url_loader_client_impl.cc#newcode88 content/child/url_loader_client_impl.cc:88: messages.begin() + index, messages.end()); On 2016/12/26 07:21:17, kinuko wrote: ...
3 years, 12 months ago (2016-12-26 08:22:00 UTC) #35
kinuko
Thanks lgtm https://codereview.chromium.org/2591383003/diff/160001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2591383003/diff/160001/content/child/url_loader_client_impl.cc#newcode86 content/child/url_loader_client_impl.cc:86: deferred_messages_.emplace_back(std::move(messages.back())); nit: can we add a comment ...
3 years, 12 months ago (2016-12-27 01:52:21 UTC) #38
yhirano
https://codereview.chromium.org/2591383003/diff/160001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2591383003/diff/160001/content/child/url_loader_client_impl.cc#newcode86 content/child/url_loader_client_impl.cc:86: deferred_messages_.emplace_back(std::move(messages.back())); On 2016/12/27 01:52:21, kinuko wrote: > nit: can ...
3 years, 12 months ago (2016-12-27 07:32:55 UTC) #39
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/2591383003/180001
3 years, 12 months ago (2016-12-27 07:33:16 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:180001)
3 years, 12 months ago (2016-12-27 08:31:42 UTC) #45
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:45:49 UTC) #47
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6a0e9c78b3be3955f3abb0d3663f506104845157
Cr-Commit-Position: refs/heads/master@{#440741}

Powered by Google App Engine
This is Rietveld 408576698