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

Issue 2663213002: Create the IOSImageDataFetcherWrapper (Closed)

Created:
3 years, 10 months ago by gambard
Modified:
3 years, 10 months ago
CC:
chromium-reviews, pkl (ping after 24h if needed), droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, Eugene But (OOO till 7-30), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org, Marc Treib
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create the IOSImageDataFetcherWrapper Create a wrapper of ImageDataFetcher for iOS. This class has a method to fetches and returns the image decoded, if it is a WebP image, as iOS does not decode WebP. BUG=683918 Review-Url: https://codereview.chromium.org/2663213002 Cr-Commit-Position: refs/heads/master@{#447752} Committed: https://chromium.googlesource.com/chromium/src/+/3c3d18557ba0b9d0e31598ed62e7129f97a582c7

Patch Set 1 #

Total comments: 16

Patch Set 2 : Address comments #

Total comments: 47

Patch Set 3 : Address comments #

Total comments: 10

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+486 lines, -16 lines) Patch
M components/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A components/image_fetcher/ios/BUILD.gn View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A components/image_fetcher/ios/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A components/image_fetcher/ios/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
A components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm View 1 2 3 1 chunk +118 lines, -0 lines 0 comments Download
A components/image_fetcher/ios/ios_image_data_fetcher_wrapper_unittest.mm View 1 2 3 1 chunk +255 lines, -0 lines 0 comments Download
M ios/chrome/browser/suggestions/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/suggestions/image_fetcher_impl.h View 2 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/suggestions/image_fetcher_impl.mm View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M ios/web/public/image_fetcher/webp_decoder.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/public/image_fetcher/webp_decoder.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (8 generated)
gambard
PTAL.
3 years, 10 months ago (2017-01-31 15:25:19 UTC) #2
markusheintz_
https://codereview.chromium.org/2663213002/diff/1/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm File components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm (right): https://codereview.chromium.org/2663213002/diff/1/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm#newcode27 components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm:27: class WebpDecoderDelegate : public webp_transcode::WebpDecoder::Delegate { Don't need to ...
3 years, 10 months ago (2017-01-31 15:51:41 UTC) #4
Marc Treib
Just a few comments. I'll leave the bulk of the review to the ios experts ...
3 years, 10 months ago (2017-01-31 16:17:25 UTC) #6
gambard
Thanks, PTAL. https://codereview.chromium.org/2663213002/diff/1/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h File components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h (right): https://codereview.chromium.org/2663213002/diff/1/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h#newcode36 components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h:36: // The TaskRunner is used to eventually ...
3 years, 10 months ago (2017-01-31 16:55:54 UTC) #8
Marc Treib
LGTM, but please wait for an ios expert to also approve, since I'm quite unfamiliar ...
3 years, 10 months ago (2017-01-31 17:25:24 UTC) #9
markusheintz_
Overall approach LGTM. Please check for the correct image header . And please let some ...
3 years, 10 months ago (2017-02-01 08:09:28 UTC) #10
sdefresne
https://codereview.chromium.org/2663213002/diff/20001/components/image_fetcher/ios/DEPS File components/image_fetcher/ios/DEPS (right): https://codereview.chromium.org/2663213002/diff/20001/components/image_fetcher/ios/DEPS#newcode4 components/image_fetcher/ios/DEPS:4: nit: remove blank line https://codereview.chromium.org/2663213002/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h File components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h (right): https://codereview.chromium.org/2663213002/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h#newcode12 ...
3 years, 10 months ago (2017-02-01 09:43:45 UTC) #11
gambard
Thanks, PTAL. https://codereview.chromium.org/2663213002/diff/20001/components/image_fetcher/ios/DEPS File components/image_fetcher/ios/DEPS (right): https://codereview.chromium.org/2663213002/diff/20001/components/image_fetcher/ios/DEPS#newcode4 components/image_fetcher/ios/DEPS:4: On 2017/02/01 09:43:44, sdefresne wrote: > nit: ...
3 years, 10 months ago (2017-02-02 10:03:47 UTC) #12
sdefresne
lgtm all nits/comments can be addressed in a followup CL if you want https://codereview.chromium.org/2663213002/diff/40001/components/image_fetcher/ios/BUILD.gn File ...
3 years, 10 months ago (2017-02-02 10:42:06 UTC) #13
gambard
Thanks! https://codereview.chromium.org/2663213002/diff/40001/components/image_fetcher/ios/BUILD.gn File components/image_fetcher/ios/BUILD.gn (right): https://codereview.chromium.org/2663213002/diff/40001/components/image_fetcher/ios/BUILD.gn#newcode6 components/image_fetcher/ios/BUILD.gn:6: configs += [ "//build/config/compiler:enable_arc" ] On 2017/02/02 10:42:05, ...
3 years, 10 months ago (2017-02-02 11:57:02 UTC) #14
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/2663213002/60001
3 years, 10 months ago (2017-02-02 11:57:14 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 12:59:04 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3c3d18557ba0b9d0e31598ed62e7...

Powered by Google App Engine
This is Rietveld 408576698