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

Issue 10830111: [cros] Encode user images when set from WebUI (regression fix). (Closed)

Created:
8 years, 4 months ago by Ivan Korotkov
Modified:
8 years, 4 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, kkania, robertshield, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

[cros] Encode user images when set from WebUI (regression fix). This only fixes the avatar-related part of the bug. UserImageLoader now always passes raw data to the callback. BUG=139887 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149744

Patch Set 1 #

Total comments: 7

Patch Set 2 : Review fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -36 lines) Patch
M chrome/browser/automation/automation_provider_observers_chromeos.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/user.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/user.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_image.h View 1 2 chunks +7 lines, -0 lines 1 comment Download
M chrome/browser/chromeos/login/user_image.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_image_loader.h View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/user_image_loader.cc View 1 3 chunks +3 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/user_image_screen.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 7 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/user_image_source.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Ivan Korotkov
PTAL nkostylev: whole CL jhawkins: options2 phajdan.jr: automation
8 years, 4 months ago (2012-08-01 01:59:01 UTC) #1
Nikita (slow)
lgtm http://codereview.chromium.org/10830111/diff/1/chrome/browser/chromeos/login/user_image.cc File chrome/browser/chromeos/login/user_image.cc (right): http://codereview.chromium.org/10830111/diff/1/chrome/browser/chromeos/login/user_image.cc#newcode27 chrome/browser/chromeos/login/user_image.cc:27: UserImage UserImage::CreateAndEncode(const gfx::ImageSkia& image) { const UserImage& http://codereview.chromium.org/10830111/diff/1/chrome/browser/chromeos/login/user_image.h ...
8 years, 4 months ago (2012-08-01 03:56:18 UTC) #2
Ivan Korotkov
http://codereview.chromium.org/10830111/diff/1/chrome/browser/chromeos/login/user_image.cc File chrome/browser/chromeos/login/user_image.cc (right): http://codereview.chromium.org/10830111/diff/1/chrome/browser/chromeos/login/user_image.cc#newcode27 chrome/browser/chromeos/login/user_image.cc:27: UserImage UserImage::CreateAndEncode(const gfx::ImageSkia& image) { On 2012/08/01 03:56:18, Nikita ...
8 years, 4 months ago (2012-08-01 21:51:28 UTC) #3
James Hawkins
options2 LGTM
8 years, 4 months ago (2012-08-02 20:54:22 UTC) #4
Ivan Korotkov
Darin, could you take a look at automation/?
8 years, 4 months ago (2012-08-02 21:45:24 UTC) #5
darin (slow to review)
LGTM for automation changes. http://codereview.chromium.org/10830111/diff/8001/chrome/browser/chromeos/login/user_image.h File chrome/browser/chromeos/login/user_image.h (right): http://codereview.chromium.org/10830111/diff/8001/chrome/browser/chromeos/login/user_image.h#newcode25 chrome/browser/chromeos/login/user_image.h:25: static UserImage CreateAndEncode(const gfx::ImageSkia& image); ...
8 years, 4 months ago (2012-08-02 22:15:30 UTC) #6
Ivan Korotkov
Right, I'm intending to make UserImage::RawImage to be ref-counted instead of a simple std::vector because ...
8 years, 4 months ago (2012-08-02 22:18:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/10830111/8001
8 years, 4 months ago (2012-08-02 22:19:17 UTC) #8
commit-bot: I haz the power
Change committed as 149744
8 years, 4 months ago (2012-08-02 23:46:08 UTC) #9
darin (slow to review)
On Thu, Aug 2, 2012 at 3:18 PM, <ivankr@chromium.org> wrote: > Right, I'm intending to ...
8 years, 4 months ago (2012-08-03 03:40:18 UTC) #10
Ivan Korotkov
8 years, 4 months ago (2012-08-03 16:40:27 UTC) #11
OK

Powered by Google App Engine
This is Rietveld 408576698