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

Issue 2324793002: Support WebP images in the IOSImageDecoderImpl (Closed)

Created:
4 years, 3 months ago by vitaliii
Modified:
4 years, 2 months ago
CC:
markusheintz_, chromium-reviews, ntp-dev+reviews_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support WebP images in the IOSImageDecoderImpl WebP images are not supported natively on iOS. This CL adds WebP images decoding to IOSImageDecoderImpl using webp_decoder. Most of the work had been done by markusheintz@chromium.org and then I took over the CL. BUG=625081 Committed: https://crrev.com/a3e8310cf8a391aaaebe458ba2441257e42738a6 Cr-Commit-Position: refs/heads/master@{#423829}

Patch Set 1 #

Total comments: 6

Patch Set 2 : noyau@ comments. #

Total comments: 2

Patch Set 3 : rebase. #

Total comments: 2

Patch Set 4 : noyau@ comments. #

Total comments: 16

Patch Set 5 : sdefresne@ comments. #

Total comments: 2

Patch Set 6 : rebase + sdefresne@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -27 lines) Patch
M ios/chrome/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/suggestions/ios_image_decoder_impl.h View 1 2 3 4 5 1 chunk +8 lines, -13 lines 0 comments Download
M ios/chrome/browser/suggestions/ios_image_decoder_impl.mm View 1 2 3 4 5 2 chunks +136 lines, -12 lines 0 comments Download
A ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm View 1 2 3 4 5 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (25 generated)
vitaliii
Hi, could you have a look?
4 years, 3 months ago (2016-09-09 10:01:15 UTC) #3
noyau (Ping after 24h)
https://codereview.chromium.org/2324793002/diff/1/ios/chrome/browser/suggestions/ios_image_decoder_impl.h File ios/chrome/browser/suggestions/ios_image_decoder_impl.h (right): https://codereview.chromium.org/2324793002/diff/1/ios/chrome/browser/suggestions/ios_image_decoder_impl.h#newcode35 ios/chrome/browser/suggestions/ios_image_decoder_impl.h:35: base::scoped_nsobject<NSData> data); This private use scoped_nsobject has the unfortunate ...
4 years, 3 months ago (2016-09-09 10:18:05 UTC) #4
vitaliii
Hi, please have a look at my fix. https://codereview.chromium.org/2324793002/diff/1/ios/chrome/browser/suggestions/ios_image_decoder_impl.h File ios/chrome/browser/suggestions/ios_image_decoder_impl.h (right): https://codereview.chromium.org/2324793002/diff/1/ios/chrome/browser/suggestions/ios_image_decoder_impl.h#newcode35 ios/chrome/browser/suggestions/ios_image_decoder_impl.h:35: base::scoped_nsobject<NSData> ...
4 years, 3 months ago (2016-09-09 13:03:42 UTC) #6
noyau (Ping after 24h)
lgtm https://codereview.chromium.org/2324793002/diff/40001/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm File ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm (right): https://codereview.chromium.org/2324793002/diff/40001/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm#newcode53 ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm:53: class IOSImageDecoderImplTest : public PlatformTest { I believe ...
4 years, 3 months ago (2016-09-09 15:20:02 UTC) #7
vitaliii
On 2016/09/09 15:20:02, noyau wrote: > lgtm > > https://codereview.chromium.org/2324793002/diff/40001/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm > File ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm (right): > ...
4 years, 2 months ago (2016-09-28 12:47:27 UTC) #8
noyau (Ping after 24h)
On 2016/09/28 12:47:27, vitaliii wrote: > On 2016/09/09 15:20:02, noyau wrote: > > lgtm > ...
4 years, 2 months ago (2016-09-28 14:38:28 UTC) #9
vitaliii
Hi noyau, Could you have another look? It looks like the current way of creating ...
4 years, 2 months ago (2016-09-29 10:10:39 UTC) #18
noyau (Ping after 24h)
https://codereview.chromium.org/2324793002/diff/60001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc File ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2324793002/diff/60001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc#newcode171 ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc:171: createIOSImageDecoder(nullptr), On 2016/09/29 10:10:39, vitaliii wrote: > This will ...
4 years, 2 months ago (2016-10-03 13:42:10 UTC) #19
vitaliii
[+ markusheintz since he is back] Hi noyau, could you have a look at my ...
4 years, 2 months ago (2016-10-05 06:23:47 UTC) #21
vitaliii
[-markusheintz@google.com] [+markusheintz@chromium.org]
4 years, 2 months ago (2016-10-05 06:29:34 UTC) #23
sdefresne
https://codereview.chromium.org/2324793002/diff/80001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc File ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2324793002/diff/80001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc#newcode159 ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc:159: scoped_refptr<base::SequencedWorkerPool> image_decoder_worker_pool( Creation of base::SequencePool directly is really uncommon ...
4 years, 2 months ago (2016-10-05 09:15:28 UTC) #25
vitaliii
Hi, could you have another look? https://codereview.chromium.org/2324793002/diff/80001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc File ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2324793002/diff/80001/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc#newcode159 ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc:159: scoped_refptr<base::SequencedWorkerPool> image_decoder_worker_pool( On ...
4 years, 2 months ago (2016-10-06 06:35:09 UTC) #26
sdefresne
lgtm Code looks good as is, but if you want to pass object by value ...
4 years, 2 months ago (2016-10-06 15:53:07 UTC) #27
markusheintz_
LGTM
4 years, 2 months ago (2016-10-07 08:57:00 UTC) #33
sdefresne
lgtm
4 years, 2 months ago (2016-10-07 09:19:48 UTC) #34
vitaliii
Fix. No need to look. https://codereview.chromium.org/2324793002/diff/80001/ios/chrome/browser/suggestions/ios_image_decoder_impl.mm File ios/chrome/browser/suggestions/ios_image_decoder_impl.mm (right): https://codereview.chromium.org/2324793002/diff/80001/ios/chrome/browser/suggestions/ios_image_decoder_impl.mm#newcode84 ios/chrome/browser/suggestions/ios_image_decoder_impl.mm:84: explicit IOSImageDecoderImpl(scoped_refptr<base::TaskRunner> task_runner); On ...
4 years, 2 months ago (2016-10-07 09:50:31 UTC) #37
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/2324793002/140001
4 years, 2 months ago (2016-10-07 09:50:48 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 2 months ago (2016-10-07 09:57:12 UTC) #42
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 10:00:18 UTC) #44
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a3e8310cf8a391aaaebe458ba2441257e42738a6
Cr-Commit-Position: refs/heads/master@{#423829}

Powered by Google App Engine
This is Rietveld 408576698