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

Issue 2521253002: Move ImageFetcher to its own target. (Closed)

Created:
4 years, 1 month ago by gambard
Modified:
4 years ago
Reviewers:
sdefresne
CC:
chromium-reviews, cbentzel+watch_chromium.org, pkl (ping after 24h if needed), mac-reviews_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ImageFetcher to its own target. This CL moves the ImageFetcher class to its own target to prevent circular dependencies. BUG=667747

Patch Set 1 #

Patch Set 2 : BUILD.gn cleanup #

Patch Set 3 : Reviewable #

Total comments: 8

Patch Set 4 : Split target #

Total comments: 2

Patch Set 5 : Add todo #

Patch Set 6 : Rename and move #

Patch Set 7 : Cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -1024 lines) Patch
M components/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A + components/image_fetcher/ios/BUILD.gn View 1 2 3 4 5 6 1 chunk +27 lines, -9 lines 0 comments Download
A components/image_fetcher/ios/DEPS View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
A + components/image_fetcher/ios/OWNERS View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A components/image_fetcher/ios/mock_raw_image_fetcher.h View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A components/image_fetcher/ios/mock_raw_image_fetcher.mm View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
A components/image_fetcher/ios/raw_image_fetcher.h View 1 2 3 4 5 1 chunk +96 lines, -0 lines 0 comments Download
A + components/image_fetcher/ios/raw_image_fetcher.mm View 1 2 3 4 5 9 chunks +27 lines, -25 lines 0 comments Download
A + components/image_fetcher/ios/raw_image_fetcher_unittest.mm View 1 2 3 4 5 10 chunks +70 lines, -52 lines 0 comments Download
A + components/image_fetcher/ios/webp_decoder.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + components/image_fetcher/ios/webp_decoder.mm View 1 2 3 4 5 2 chunks +29 lines, -29 lines 0 comments Download
A + components/image_fetcher/ios/webp_decoder_unittest.mm View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A + components/test/data/webp_transcode/OWNERS View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/test/data/webp_transcode/test.jpg View 1 2 3 4 5 6 Binary file 0 comments Download
A + components/test/data/webp_transcode/test.webp View 1 2 3 4 5 6 Binary file 0 comments Download
A + components/test/data/webp_transcode/test_alpha.png View 1 2 3 4 5 6 Binary file 0 comments Download
A + components/test/data/webp_transcode/test_alpha.webp View 1 2 3 4 5 6 Binary file 0 comments Download
A + components/test/data/webp_transcode/test_small.tiff View 1 2 3 4 5 6 Binary file 0 comments Download
A + components/test/data/webp_transcode/test_small.webp View 1 2 3 4 5 6 Binary file 0 comments Download
M ios/chrome/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/net/BUILD.gn View 1 2 3 4 5 3 chunks +1 line, -2 lines 0 comments Download
M ios/chrome/browser/net/image_fetcher.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
D ios/chrome/browser/net/image_fetcher_unittest.mm View 4 5 1 chunk +0 lines, -199 lines 0 comments Download
M ios/chrome/browser/suggestions/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M ios/chrome/browser/suggestions/image_fetcher_impl.h View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/suggestions/image_fetcher_impl.mm View 1 2 3 4 5 3 chunks +19 lines, -19 lines 0 comments Download
M ios/chrome/browser/suggestions/ios_image_decoder_impl.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
D ios/chrome/browser/webp_transcode/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -46 lines 0 comments Download
D ios/chrome/browser/webp_transcode/DEPS View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
D ios/chrome/browser/webp_transcode/OWNERS View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
D ios/chrome/browser/webp_transcode/README View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
D ios/chrome/browser/webp_transcode/webp_decoder.h View 1 2 3 4 5 1 chunk +0 lines, -78 lines 0 comments Download
D ios/chrome/browser/webp_transcode/webp_decoder.mm View 1 2 3 4 5 1 chunk +0 lines, -252 lines 0 comments Download
D ios/chrome/browser/webp_transcode/webp_decoder_unittest.mm View 1 2 3 4 5 1 chunk +0 lines, -292 lines 0 comments Download
D ios/chrome/test/data/webp_transcode/OWNERS View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
D ios/chrome/test/data/webp_transcode/test.jpg View 1 2 3 4 5 6 Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test.webp View 1 2 3 4 5 6 Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_alpha.png View 1 2 3 4 5 6 Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_alpha.webp View 1 2 3 4 5 6 Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_small.tiff View 1 2 3 4 5 6 Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_small.webp View 1 2 3 4 5 6 Binary file 0 comments Download

Messages

Total messages: 14 (5 generated)
gambard
PTAL.
4 years, 1 month ago (2016-11-22 13:56:50 UTC) #2
sdefresne
https://codereview.chromium.org/2521253002/diff/40001/ios/chrome/browser/net/BUILD.gn File ios/chrome/browser/net/BUILD.gn (right): https://codereview.chromium.org/2521253002/diff/40001/ios/chrome/browser/net/BUILD.gn#newcode17 ios/chrome/browser/net/BUILD.gn:17: "image_fetcher.h", You also want to move image_fetcher.h to the ...
4 years, 1 month ago (2016-11-22 14:03:52 UTC) #3
sdefresne
On 2016/11/22 14:03:52, sdefresne wrote: > https://codereview.chromium.org/2521253002/diff/40001/ios/chrome/browser/net/BUILD.gn > File ios/chrome/browser/net/BUILD.gn (right): > > https://codereview.chromium.org/2521253002/diff/40001/ios/chrome/browser/net/BUILD.gn#newcode17 > ...
4 years, 1 month ago (2016-11-22 14:08:16 UTC) #4
gambard
Thanks, I have split the target, PTAL. https://codereview.chromium.org/2521253002/diff/40001/ios/chrome/browser/net/BUILD.gn File ios/chrome/browser/net/BUILD.gn (right): https://codereview.chromium.org/2521253002/diff/40001/ios/chrome/browser/net/BUILD.gn#newcode17 ios/chrome/browser/net/BUILD.gn:17: "image_fetcher.h", On ...
4 years, 1 month ago (2016-11-22 14:25:12 UTC) #5
sdefresne
https://codereview.chromium.org/2521253002/diff/60001/ios/chrome/browser/net/BUILD.gn File ios/chrome/browser/net/BUILD.gn (right): https://codereview.chromium.org/2521253002/diff/60001/ios/chrome/browser/net/BUILD.gn#newcode51 ios/chrome/browser/net/BUILD.gn:51: ":image_fetcher", Can you add a TODO to remove this ...
4 years, 1 month ago (2016-11-22 14:38:19 UTC) #6
gambard
Thanks, PTAL. https://codereview.chromium.org/2521253002/diff/60001/ios/chrome/browser/net/BUILD.gn File ios/chrome/browser/net/BUILD.gn (right): https://codereview.chromium.org/2521253002/diff/60001/ios/chrome/browser/net/BUILD.gn#newcode51 ios/chrome/browser/net/BUILD.gn:51: ":image_fetcher", On 2016/11/22 14:38:19, sdefresne wrote: > ...
4 years, 1 month ago (2016-11-22 14:44:13 UTC) #9
sdefresne
lgtm
4 years, 1 month ago (2016-11-22 14:47:48 UTC) #10
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/2521253002/80001
4 years, 1 month ago (2016-11-22 14:48:19 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 14:52:51 UTC) #14
Try jobs failed on following builders:
  mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)

Powered by Google App Engine
This is Rietveld 408576698