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

Issue 2597873002: Move URLLoaderClientImpl to a separate file (Closed)

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

Description

Move URLLoaderClientImpl to a separate file This CL moves URLLoaderClientImpl defined in resource_dispatcher.cc to a separate file as content::URLLoaderClientImpl and adds unittests. BUG=603396 Committed: https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c Cr-Commit-Position: refs/heads/master@{#440386}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Total comments: 1

Patch Set 4 : splitting #

Patch Set 5 : fix #

Total comments: 12

Patch Set 6 : fix #

Total comments: 2

Patch Set 7 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+696 lines, -182 lines) Patch
M content/child/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/resource_dispatcher.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 4 chunks +2 lines, -80 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 2 chunks +1 line, -101 lines 0 comments Download
A content/child/test_request_peer.h View 1 1 chunk +85 lines, -0 lines 0 comments Download
A content/child/test_request_peer.cc View 1 1 chunk +89 lines, -0 lines 0 comments Download
A content/child/url_loader_client_impl.h View 1 2 3 4 5 1 chunk +70 lines, -0 lines 0 comments Download
A content/child/url_loader_client_impl.cc View 1 2 3 4 5 6 1 chunk +88 lines, -0 lines 0 comments Download
A content/child/url_loader_client_impl_unittest.cc View 1 2 3 4 5 1 chunk +354 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (30 generated)
yhirano
PTAL
4 years ago (2016-12-22 05:20:22 UTC) #14
kinuko
Wouldn't it be better to split URLLoaderClientImpl first, and then add SetDefersLoading support in a ...
4 years ago (2016-12-22 06:34:18 UTC) #16
yhirano
> Wouldn't it be better to split URLLoaderClientImpl first, and then add > SetDefersLoading support ...
4 years ago (2016-12-22 07:08:59 UTC) #22
kinuko
looking good, some nits https://codereview.chromium.org/2597873002/diff/80001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2597873002/diff/80001/content/child/url_loader_client_impl.cc#newcode30 content/child/url_loader_client_impl.cc:30: is_destroyed_->set(true); Looks like this shared ...
4 years ago (2016-12-22 07:54:49 UTC) #23
yhirano
https://codereview.chromium.org/2597873002/diff/80001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2597873002/diff/80001/content/child/url_loader_client_impl.cc#newcode30 content/child/url_loader_client_impl.cc:30: is_destroyed_->set(true); On 2016/12/22 07:54:48, kinuko wrote: > Looks like ...
4 years ago (2016-12-22 08:03:32 UTC) #26
kinuko
lgtm https://codereview.chromium.org/2597873002/diff/100001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2597873002/diff/100001/content/child/url_loader_client_impl.cc#newcode82 content/child/url_loader_client_impl.cc:82: } nit: match the method order as in ...
4 years ago (2016-12-22 08:12:37 UTC) #27
yhirano
https://codereview.chromium.org/2597873002/diff/100001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2597873002/diff/100001/content/child/url_loader_client_impl.cc#newcode82 content/child/url_loader_client_impl.cc:82: } On 2016/12/22 08:12:37, kinuko wrote: > nit: match ...
4 years ago (2016-12-22 08:18:14 UTC) #30
yhirano
https://codereview.chromium.org/2597873002/diff/100001/content/child/url_loader_client_impl.cc File content/child/url_loader_client_impl.cc (right): https://codereview.chromium.org/2597873002/diff/100001/content/child/url_loader_client_impl.cc#newcode82 content/child/url_loader_client_impl.cc:82: } On 2016/12/22 08:12:37, kinuko wrote: > nit: match ...
4 years ago (2016-12-22 08:18:15 UTC) #31
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/2597873002/120001
4 years ago (2016-12-22 11:38:51 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-22 11:42:49 UTC) #39
commit-bot: I haz the power
4 years ago (2016-12-22 11:46:35 UTC) #41
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c
Cr-Commit-Position: refs/heads/master@{#440386}

Powered by Google App Engine
This is Rietveld 408576698