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

Issue 264483004: UserImageLoader: Remove DCHECK requiring success of ReadFileToString(). (Closed)

Created:
6 years, 7 months ago by Thiemo Nagel
Modified:
6 years, 7 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

UserImageLoader: Remove DCHECK requiring success of ReadFileToString(). The case of a non-existing image file should be treated as an ordinary error case, just as a garbled JPEG image would be. Update comment for UserImageLoader::Start() accordingly. (The current behaviour breaks out/Debug/chrome (no parameters) compiled with chromeos=1.) BUG=371295 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269903

Patch Set 1 #

Patch Set 2 : Add logging as suggested by Pavel. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M chrome/browser/chromeos/login/user_image_loader.h View 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/user_image_loader.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Thiemo Nagel
Hi Bartosz, I'm sending this to you because you contributed the line in question. Could ...
6 years, 7 months ago (2014-04-30 13:00:44 UTC) #1
bartfab (slow)
lgtm
6 years, 7 months ago (2014-05-05 10:10:10 UTC) #2
Thiemo Nagel
Hi Pavel, could you please be so kind to take a look at this small ...
6 years, 7 months ago (2014-05-05 10:17:57 UTC) #3
Thiemo Nagel
Hi Pavel, may I ping you about this CL again? It's just a small fix. ...
6 years, 7 months ago (2014-05-12 10:00:01 UTC) #4
dzhioev (left Google)
On 2014/05/12 10:00:01, Thiemo Nagel wrote: > Hi Pavel, > > may I ping you ...
6 years, 7 months ago (2014-05-12 13:10:27 UTC) #5
Thiemo Nagel
On 2014/05/12 13:10:27, dzhioev wrote: > Sorry, I was on vacation since April 29. No ...
6 years, 7 months ago (2014-05-12 13:56:56 UTC) #6
dzhioev (left Google)
On 2014/05/12 13:56:56, Thiemo Nagel wrote: > On 2014/05/12 13:10:27, dzhioev wrote: > > Sorry, ...
6 years, 7 months ago (2014-05-12 15:46:49 UTC) #7
Thiemo Nagel
> (It is a bad idea to run "chromeos=1" build without arguments. You should > ...
6 years, 7 months ago (2014-05-12 16:07:52 UTC) #8
Thiemo Nagel
The CQ bit was checked by tnagel@chromium.org
6 years, 7 months ago (2014-05-12 16:07:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tnagel@chromium.org/264483004/40001
6 years, 7 months ago (2014-05-12 16:08:38 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-12 20:43:08 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 23:07:02 UTC) #12
Message was sent while issue was closed.
Change committed as 269903

Powered by Google App Engine
This is Rietveld 408576698