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

Issue 2510883003: Loading: remove dependencies from ResourceFetcher to ImageResource (Closed)

Created:
4 years, 1 month ago by Takashi Toyoshima
Modified:
4 years ago
Reviewers:
hiroshige, yhirano
CC:
chromium-reviews, tyoshino+watch_chromium.org, Yoav Weiss, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Loading: remove dependencies from ResourceFetcher to ImageResource To move ImageResource out of core/fetch, remove unexpected dependencies from ResourceFetcher to ImageResource. BUG=655920 Committed: https://crrev.com/31d4e7d45fb313e90ff623b769cf5e06265db7ce Cr-Commit-Position: refs/heads/master@{#438156}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : . #

Patch Set 4 : rebased #

Total comments: 2

Patch Set 5 : rebase + review #11 #

Patch Set 6 : rebase ResourceFetcher.cpp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -34 lines) Patch
M third_party/WebKit/Source/core/fetch/ImageResource.h View 1 2 3 4 3 chunks +6 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.cpp View 1 2 3 4 3 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 3 chunks +3 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 32 (16 generated)
Takashi Toyoshima
PTAL https://codereview.chromium.org/2510883003/diff/20001/third_party/WebKit/Source/core/fetch/Resource.h File third_party/WebKit/Source/core/fetch/Resource.h (right): https://codereview.chromium.org/2510883003/diff/20001/third_party/WebKit/Source/core/fetch/Resource.h#newcode338 third_party/WebKit/Source/core/fetch/Resource.h:338: // Used by ImageResource to support LoFi image ...
4 years, 1 month ago (2016-11-17 08:33:46 UTC) #3
hiroshige
https://codereview.chromium.org/2510883003/diff/20001/third_party/WebKit/Source/core/fetch/ImageResource.h File third_party/WebKit/Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/2510883003/diff/20001/third_party/WebKit/Source/core/fetch/ImageResource.h#newcode159 third_party/WebKit/Source/core/fetch/ImageResource.h:159: bool shouldReloadBrokenPlaceholder() const { Now we can make shouldReloadBrokenPlaceholder() ...
4 years, 1 month ago (2016-11-17 09:00:33 UTC) #4
Takashi Toyoshima
How about this change? https://codereview.chromium.org/2510883003/diff/20001/third_party/WebKit/Source/core/fetch/ImageResource.h File third_party/WebKit/Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/2510883003/diff/20001/third_party/WebKit/Source/core/fetch/ImageResource.h#newcode159 third_party/WebKit/Source/core/fetch/ImageResource.h:159: bool shouldReloadBrokenPlaceholder() const { On ...
4 years, 1 month ago (2016-11-17 10:15:43 UTC) #5
hiroshige
On 2016/11/17 10:15:43, toyoshim wrote: > How about this change? > > https://codereview.chromium.org/2510883003/diff/20001/third_party/WebKit/Source/core/fetch/ImageResource.h > File ...
4 years ago (2016-11-29 08:15:14 UTC) #7
Takashi Toyoshima
As we discussed again, this patch will follow the hiroshige@'s patch 4. I rebased the ...
4 years ago (2016-12-07 09:19:00 UTC) #9
Takashi Toyoshima
yhirano: just in case, this CL is ready for review and will go before the ...
4 years ago (2016-12-09 05:15:38 UTC) #10
yhirano
https://codereview.chromium.org/2510883003/diff/60001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/2510883003/diff/60001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp#newcode1441 third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp:1441: resource->reloadIfLoFiOrPlaceholderImage(this, Resource::kReloadAlways); Is the nullity check needed?
4 years ago (2016-12-12 06:11:58 UTC) #11
hiroshige
non-owner lgtm once yhirano@'s comment is addressed.
4 years ago (2016-12-12 14:32:39 UTC) #12
Takashi Toyoshima
https://codereview.chromium.org/2510883003/diff/60001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/2510883003/diff/60001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp#newcode1441 third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp:1441: resource->reloadIfLoFiOrPlaceholderImage(this, Resource::kReloadAlways); On 2016/12/12 06:11:57, yhirano wrote: > Is ...
4 years ago (2016-12-13 04:49:16 UTC) #13
Takashi Toyoshima
yhirano: ptal
4 years ago (2016-12-13 09:13:28 UTC) #18
yhirano
lgtm
4 years ago (2016-12-13 10:57:15 UTC) #19
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/2510883003/80001
4 years ago (2016-12-13 11:22:48 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/324644)
4 years ago (2016-12-13 11:29:54 UTC) #24
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/2510883003/100001
4 years ago (2016-12-13 12:02:22 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-13 13:59:14 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-13 14:00:59 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/31d4e7d45fb313e90ff623b769cf5e06265db7ce
Cr-Commit-Position: refs/heads/master@{#438156}

Powered by Google App Engine
This is Rietveld 408576698