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

Issue 2689213010: Add a static method to WebPDecoder to decode WebP (Closed)

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

Description

Add a static method to WebPDecoder to decode WebP This CL adds a method to the WEBPDecoder to allow easier decoding. Before each class has to implement its own delegate. BUG=687921 Review-Url: https://codereview.chromium.org/2689213010 Cr-Commit-Position: refs/heads/master@{#451279} Committed: https://chromium.googlesource.com/chromium/src/+/e94a602b2adc854bc7f8accffef20fcf5b1f54e0

Patch Set 1 #

Patch Set 2 : Fix ImageDataFetcher #

Total comments: 5

Patch Set 3 : Address comments #

Patch Set 4 : Format block differently #

Total comments: 2

Patch Set 5 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -164 lines) Patch
M components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm View 1 2 3 3 chunks +9 lines, -60 lines 0 comments Download
M components/image_fetcher/ios/ios_image_data_fetcher_wrapper_unittest.mm View 1 chunk +1 line, -28 lines 0 comments Download
M ios/chrome/browser/suggestions/ios_image_decoder_impl.mm View 1 2 3 4 5 chunks +11 lines, -76 lines 0 comments Download
M ios/web/public/image_fetcher/webp_decoder.h View 1 chunk +21 lines, -0 lines 0 comments Download
M ios/web/public/image_fetcher/webp_decoder.mm View 2 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
gambard
PTAL rohit@:PTAL for ios/chrome/browser/suggestions.
3 years, 10 months ago (2017-02-16 15:34:55 UTC) #2
sdefresne
https://codereview.chromium.org/2689213010/diff/20001/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/2689213010/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm#newcode79 components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm:79: task_runner.get(), FROM_HERE, base::BindBlockArc(^NSData* { I think this should be ...
3 years, 10 months ago (2017-02-16 17:10:32 UTC) #3
gambard
Thanks, PTAL. https://codereview.chromium.org/2689213010/diff/20001/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/2689213010/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm#newcode79 components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm:79: task_runner.get(), FROM_HERE, base::BindBlockArc(^NSData* { On 2017/02/16 17:10:32, ...
3 years, 10 months ago (2017-02-17 08:31:00 UTC) #4
gambard
Block formatted :)
3 years, 10 months ago (2017-02-17 10:17:20 UTC) #5
sdefresne
lgtm https://codereview.chromium.org/2689213010/diff/20001/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/2689213010/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm#newcode79 components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm:79: task_runner.get(), FROM_HERE, base::BindBlockArc(^NSData* { On 2017/02/17 08:30:59, gambard ...
3 years, 10 months ago (2017-02-17 10:22:55 UTC) #6
gambard
Thanks! https://codereview.chromium.org/2689213010/diff/10006/ios/chrome/browser/suggestions/ios_image_decoder_impl.mm File ios/chrome/browser/suggestions/ios_image_decoder_impl.mm (right): https://codereview.chromium.org/2689213010/diff/10006/ios/chrome/browser/suggestions/ios_image_decoder_impl.mm#newcode59 ios/chrome/browser/suggestions/ios_image_decoder_impl.mm:59: // Convert the |image_data| std::string to an NSData ...
3 years, 10 months ago (2017-02-17 10:46:02 UTC) #7
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/2689213010/70001
3 years, 10 months ago (2017-02-17 10:46:29 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 11:05:56 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://chromium.googlesource.com/chromium/src/+/e94a602b2adc854bc7f8accffef2...

Powered by Google App Engine
This is Rietveld 408576698