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

Issue 2526773002: Move iOS ImageFetcher to ios/web/public (Closed)

Created:
4 years ago by gambard
Modified:
4 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_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 iOS ImageFetcher to ios/web/public This CL moves and renames the RawImageFetcher getting the data from the url. It moves it to ios/web/public, in order to be able to use it from ios/web and ios/chrome. BUG=667747 Committed: https://crrev.com/03a0e8dd06380453b181d345f85422314fb0522b Cr-Commit-Position: refs/heads/master@{#435892}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address comments #

Patch Set 3 : Move to ios/web/public #

Patch Set 4 : Cleanup and Rebase #

Total comments: 4

Patch Set 5 : Add a comment #

Total comments: 8

Patch Set 6 : Rename to image data fetcher #

Total comments: 8

Patch Set 7 : Rename headers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -1043 lines) Patch
M ios/chrome/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/net/BUILD.gn View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M ios/chrome/browser/net/image_fetcher.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D ios/chrome/browser/net/image_fetcher_unittest.mm View 1 2 1 chunk +0 lines, -203 lines 0 comments Download
M ios/chrome/browser/suggestions/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M ios/chrome/browser/suggestions/image_fetcher_impl.h View 1 2 3 4 5 3 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/suggestions/image_fetcher_impl.mm View 1 2 3 4 5 6 3 chunks +25 lines, -22 lines 0 comments Download
M ios/chrome/browser/suggestions/ios_image_decoder_impl.mm View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
D ios/chrome/browser/webp_transcode/BUILD.gn View 1 2 1 chunk +0 lines, -48 lines 0 comments Download
D ios/chrome/browser/webp_transcode/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
D ios/chrome/browser/webp_transcode/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D ios/chrome/browser/webp_transcode/README View 1 chunk +0 lines, -2 lines 0 comments Download
D ios/chrome/browser/webp_transcode/webp_decoder.h View 1 chunk +0 lines, -78 lines 0 comments Download
D ios/chrome/browser/webp_transcode/webp_decoder.mm View 1 2 1 chunk +0 lines, -255 lines 0 comments Download
D ios/chrome/browser/webp_transcode/webp_decoder_unittest.mm View 1 2 1 chunk +0 lines, -296 lines 0 comments Download
D ios/chrome/test/data/webp_transcode/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D ios/chrome/test/data/webp_transcode/test.jpg View Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test.webp View Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_alpha.png View Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_alpha.webp View Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_small.tiff View Binary file 0 comments Download
D ios/chrome/test/data/webp_transcode/test_small.webp View Binary file 0 comments Download
M ios/web/BUILD.gn View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
A + ios/web/public/image_fetcher/BUILD.gn View 1 2 3 4 5 3 chunks +14 lines, -8 lines 0 comments Download
A + ios/web/public/image_fetcher/DEPS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + ios/web/public/image_fetcher/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A ios/web/public/image_fetcher/image_data_fetcher.h View 1 2 3 4 5 6 1 chunk +96 lines, -0 lines 0 comments Download
A + ios/web/public/image_fetcher/image_data_fetcher.mm View 1 2 3 4 5 9 chunks +28 lines, -26 lines 0 comments Download
A + ios/web/public/image_fetcher/image_data_fetcher_unittest.mm View 1 2 3 4 5 10 chunks +70 lines, -56 lines 0 comments Download
A + ios/web/public/image_fetcher/webp_decoder.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + ios/web/public/image_fetcher/webp_decoder.mm View 1 2 2 chunks +29 lines, -29 lines 0 comments Download
A + ios/web/public/image_fetcher/webp_decoder_unittest.mm View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A ios/web/public/test/mock_image_data_fetcher.h View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
A ios/web/public/test/mock_image_data_fetcher.mm View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
A + ios/web/test/data/webp_transcode/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + ios/web/test/data/webp_transcode/test.jpg View 1 2 Binary file 0 comments Download
A + ios/web/test/data/webp_transcode/test.webp View 1 2 Binary file 0 comments Download
A + ios/web/test/data/webp_transcode/test_alpha.png View 1 2 Binary file 0 comments Download
A + ios/web/test/data/webp_transcode/test_alpha.webp View 1 2 Binary file 0 comments Download
A + ios/web/test/data/webp_transcode/test_small.tiff View 1 2 Binary file 0 comments Download
A + ios/web/test/data/webp_transcode/test_small.webp View 1 2 Binary file 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (10 generated)
gambard
PTAL. Replace https://codereview.chromium.org/2521253002 https://codereview.chromium.org/2526773002/diff/1/components/image_fetcher/ios/BUILD.gn File components/image_fetcher/ios/BUILD.gn (left): https://codereview.chromium.org/2526773002/diff/1/components/image_fetcher/ios/BUILD.gn#oldcode28 components/image_fetcher/ios/BUILD.gn:28: libs = [ "CoreGraphics.framework" ] Do ...
4 years ago (2016-11-23 13:56:28 UTC) #2
sdefresne
droger: can you answer my question about deps? gambard: I think you can remove the ...
4 years ago (2016-11-23 14:40:33 UTC) #4
gambard
Thanks! https://codereview.chromium.org/2526773002/diff/1/components/image_fetcher/ios/BUILD.gn File components/image_fetcher/ios/BUILD.gn (left): https://codereview.chromium.org/2526773002/diff/1/components/image_fetcher/ios/BUILD.gn#oldcode28 components/image_fetcher/ios/BUILD.gn:28: libs = [ "CoreGraphics.framework" ] On 2016/11/23 14:40:33, ...
4 years ago (2016-11-23 15:01:21 UTC) #5
gambard
PTAL. https://codereview.chromium.org/2526773002/diff/60001/ios/web/BUILD.gn File ios/web/BUILD.gn (right): https://codereview.chromium.org/2526773002/diff/60001/ios/web/BUILD.gn#newcode481 ios/web/BUILD.gn:481: "//ios/web/public/image_fetcher:unit_tests", Not sure if I should put this ...
4 years ago (2016-11-25 09:11:12 UTC) #7
sdefresne
lgtm https://codereview.chromium.org/2526773002/diff/60001/ios/chrome/browser/suggestions/image_fetcher_impl.mm File ios/chrome/browser/suggestions/image_fetcher_impl.mm (right): https://codereview.chromium.org/2526773002/diff/60001/ios/chrome/browser/suggestions/image_fetcher_impl.mm#newcode64 ios/chrome/browser/suggestions/image_fetcher_impl.mm:64: if (delegate_) { This is a block that ...
4 years ago (2016-11-25 09:27:51 UTC) #8
gambard
Thanks sdefresne@. eugenebut@: PTAL urvang@: PTAL for DEPS includes of third_party/libwebp/webp/decode.h https://codereview.chromium.org/2526773002/diff/60001/ios/chrome/browser/suggestions/image_fetcher_impl.mm File ios/chrome/browser/suggestions/image_fetcher_impl.mm (right): ...
4 years ago (2016-11-25 13:24:27 UTC) #10
urvang
Not sure what DEPS includes you wanted me to review. Did not see any diff ...
4 years ago (2016-11-28 19:51:21 UTC) #11
gambard
On 2016/11/28 19:51:21, urvang wrote: > Not sure what DEPS includes you wanted me to ...
4 years ago (2016-11-29 07:47:45 UTC) #12
urvang
On 2016/11/29 07:47:45, gambard wrote: > On 2016/11/28 19:51:21, urvang wrote: > > Not sure ...
4 years ago (2016-11-29 17:48:45 UTC) #13
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2526773002/diff/80001/ios/web/public/image_fetcher/mock_raw_image_fetcher.h File ios/web/public/image_fetcher/mock_raw_image_fetcher.h (right): https://codereview.chromium.org/2526773002/diff/80001/ios/web/public/image_fetcher/mock_raw_image_fetcher.h#newcode4 ios/web/public/image_fetcher/mock_raw_image_fetcher.h:4: Please move this to ios/web/public/test. https://codereview.chromium.org/2526773002/diff/80001/ios/web/public/image_fetcher/mock_raw_image_fetcher.h#newcode14 ios/web/public/image_fetcher/mock_raw_image_fetcher.h:14: // Mock ...
4 years ago (2016-11-30 17:28:54 UTC) #14
blundell
https://codereview.chromium.org/2526773002/diff/80001/ios/web/public/image_fetcher/raw_image_fetcher.h File ios/web/public/image_fetcher/raw_image_fetcher.h (right): https://codereview.chromium.org/2526773002/diff/80001/ios/web/public/image_fetcher/raw_image_fetcher.h#newcode42 ios/web/public/image_fetcher/raw_image_fetcher.h:42: class RawImageFetcher : public net::URLFetcherDelegate { On 2016/11/30 17:28:53, ...
4 years ago (2016-11-30 20:04:00 UTC) #16
gambard
Thanks, PTAL. https://codereview.chromium.org/2526773002/diff/80001/ios/web/public/image_fetcher/mock_raw_image_fetcher.h File ios/web/public/image_fetcher/mock_raw_image_fetcher.h (right): https://codereview.chromium.org/2526773002/diff/80001/ios/web/public/image_fetcher/mock_raw_image_fetcher.h#newcode4 ios/web/public/image_fetcher/mock_raw_image_fetcher.h:4: On 2016/11/30 17:28:53, Eugene But wrote: > ...
4 years ago (2016-12-01 09:25:13 UTC) #17
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2526773002/diff/100001/ios/chrome/browser/suggestions/image_fetcher_impl.mm File ios/chrome/browser/suggestions/image_fetcher_impl.mm (right): https://codereview.chromium.org/2526773002/diff/100001/ios/chrome/browser/suggestions/image_fetcher_impl.mm#newcode12 ios/chrome/browser/suggestions/image_fetcher_impl.mm:12: #include "ios/web/public/image_fetcher/image_data_fetcher.h" s/include/import https://codereview.chromium.org/2526773002/diff/100001/ios/chrome/browser/suggestions/ios_image_decoder_impl.mm File ios/chrome/browser/suggestions/ios_image_decoder_impl.mm (right): https://codereview.chromium.org/2526773002/diff/100001/ios/chrome/browser/suggestions/ios_image_decoder_impl.mm#newcode14 ...
4 years ago (2016-12-01 16:52:01 UTC) #18
gambard
Thanks. https://codereview.chromium.org/2526773002/diff/100001/ios/chrome/browser/suggestions/image_fetcher_impl.mm File ios/chrome/browser/suggestions/image_fetcher_impl.mm (right): https://codereview.chromium.org/2526773002/diff/100001/ios/chrome/browser/suggestions/image_fetcher_impl.mm#newcode12 ios/chrome/browser/suggestions/image_fetcher_impl.mm:12: #include "ios/web/public/image_fetcher/image_data_fetcher.h" On 2016/12/01 16:52:01, Eugene But wrote: ...
4 years ago (2016-12-02 08:06:13 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/2526773002/120001
4 years ago (2016-12-02 08:06:38 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-02 09:11:41 UTC) #25
commit-bot: I haz the power
4 years ago (2016-12-02 09:15:16 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/03a0e8dd06380453b181d345f85422314fb0522b
Cr-Commit-Position: refs/heads/master@{#435892}

Powered by Google App Engine
This is Rietveld 408576698