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

Issue 10892023: Force avatar and wallpaper decoding to use robust JPEG. (Closed)

Created:
8 years, 3 months ago by Emmanuel Saint-loubert-Bié
Modified:
8 years, 3 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, nkostylev+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Force avatar and wallpaper decoding to use robust JPEG. The next step in an upcoming CL will bind this separate path to a different JPEG library (at a minimum on CrOS). BUG=144296 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154001

Patch Set 1 #

Total comments: 7

Patch Set 2 : Applied commnets #

Total comments: 4

Patch Set 3 : Applied comments. #

Total comments: 8

Patch Set 4 : applied comments #

Patch Set 5 : more comments. #

Patch Set 6 : comments. #

Patch Set 7 : reordered. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -8 lines) Patch
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/user_image_loader.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/image_decoder.h View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/image_decoder.cc View 1 2 3 4 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_downloader.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/chrome_utility_messages.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 5 6 3 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Emmanuel Saint-loubert-Bié
Oshima, Please perform initial review of this CL. -- Emmanuel
8 years, 3 months ago (2012-08-28 23:35:06 UTC) #1
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/10892023/diff/1/chrome/browser/chromeos/extensions/wallpaper_private_api.cc File chrome/browser/chromeos/extensions/wallpaper_private_api.cc (right): https://chromiumcodereview.appspot.com/10892023/diff/1/chrome/browser/chromeos/extensions/wallpaper_private_api.cc#newcode65 chrome/browser/chromeos/extensions/wallpaper_private_api.cc:65: image_decoder_ = new ImageDecoder(this, image_data, true); Drive-by nit: boolean ...
8 years, 3 months ago (2012-08-28 23:39:40 UTC) #2
oshima
https://chromiumcodereview.appspot.com/10892023/diff/1/chrome/browser/chromeos/extensions/wallpaper_private_api.cc File chrome/browser/chromeos/extensions/wallpaper_private_api.cc (right): https://chromiumcodereview.appspot.com/10892023/diff/1/chrome/browser/chromeos/extensions/wallpaper_private_api.cc#newcode65 chrome/browser/chromeos/extensions/wallpaper_private_api.cc:65: image_decoder_ = new ImageDecoder(this, image_data, true); On 2012/08/28 23:39:40, ...
8 years, 3 months ago (2012-08-29 00:02:48 UTC) #3
Emmanuel Saint-loubert-Bié
OK I have applied all the comments. PTAL! https://chromiumcodereview.appspot.com/10892023/diff/1/chrome/browser/chromeos/extensions/wallpaper_private_api.cc File chrome/browser/chromeos/extensions/wallpaper_private_api.cc (right): https://chromiumcodereview.appspot.com/10892023/diff/1/chrome/browser/chromeos/extensions/wallpaper_private_api.cc#newcode65 chrome/browser/chromeos/extensions/wallpaper_private_api.cc:65: image_decoder_ ...
8 years, 3 months ago (2012-08-29 00:52:52 UTC) #4
oshima
lgtm with nit https://chromiumcodereview.appspot.com/10892023/diff/4004/chrome/browser/image_decoder.h File chrome/browser/image_decoder.h (right): https://chromiumcodereview.appspot.com/10892023/diff/4004/chrome/browser/image_decoder.h#newcode39 chrome/browser/image_decoder.h:39: }; document enum https://chromiumcodereview.appspot.com/10892023/diff/4004/chrome/utility/chrome_content_utility_client.cc File chrome/utility/chrome_content_utility_client.cc ...
8 years, 3 months ago (2012-08-29 01:32:28 UTC) #5
Emmanuel Saint-loubert-Bié
Thank you Oshima for LGTM, I have applied your last comments for OWNER, PTAL: nkostylev ...
8 years, 3 months ago (2012-08-29 01:57:18 UTC) #6
Nikita (slow)
https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc (right): https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc#newcode236 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc:236: ImageDecoder::DEFAULT_CODEC); Why do we use default codec here but ...
8 years, 3 months ago (2012-08-29 14:20:10 UTC) #7
Nikita (slow)
lgtm with these changes
8 years, 3 months ago (2012-08-29 15:01:58 UTC) #8
sky
https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/browser/image_decoder.h File chrome/browser/image_decoder.h (right): https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/browser/image_decoder.h#newcode70 chrome/browser/image_decoder.h:70: ImageCodec image_codec_; const https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/common/chrome_utility_messages.h File chrome/common/chrome_utility_messages.h (right): https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/common/chrome_utility_messages.h#newcode83 chrome/common/chrome_utility_messages.h:83: ...
8 years, 3 months ago (2012-08-29 15:21:54 UTC) #9
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/common/chrome_utility_messages.h File chrome/common/chrome_utility_messages.h (right): https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/common/chrome_utility_messages.h#newcode83 chrome/common/chrome_utility_messages.h:83: IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageWithIJGlibjpeg, On 2012/08/29 15:21:54, sky wrote: > Why do ...
8 years, 3 months ago (2012-08-29 17:04:29 UTC) #10
Emmanuel Saint-loubert-Bié
Applied all comments. sky: please review CL which has new naming suggested by jorgelo. erg/davemoore: ...
8 years, 3 months ago (2012-08-29 17:52:08 UTC) #11
sky
On Wed, Aug 29, 2012 at 10:04 AM, <jorgelo@chromium.org> wrote: > > https://chromiumcodereview.appspot.com/10892023/diff/12/chrome/common/chrome_utility_messages.h > File ...
8 years, 3 months ago (2012-08-29 21:02:14 UTC) #12
sail
profiles/* LGTM
8 years, 3 months ago (2012-08-29 21:11:37 UTC) #13
sky
On 2012/08/29 21:02:14, sky wrote: > On Wed, Aug 29, 2012 at 10:04 AM, <mailto:jorgelo@chromium.org> ...
8 years, 3 months ago (2012-08-29 21:23:52 UTC) #14
Jorge Lucangeli Obes
On 2012/08/29 21:23:52, sky wrote: > On 2012/08/29 21:02:14, sky wrote: > > On Wed, ...
8 years, 3 months ago (2012-08-29 21:43:31 UTC) #15
Emmanuel Saint-loubert-Bié
Hi All, I am fine doing the change required by sky@. I just want to ...
8 years, 3 months ago (2012-08-29 22:58:39 UTC) #16
sky
8 years, 3 months ago (2012-08-29 23:06:07 UTC) #17
Yes, casting ints isn't very nice. LGTM

Powered by Google App Engine
This is Rietveld 408576698