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

Issue 10544043: Fix ScreenLocker to not send notifications with empty passwords. (Closed)

Created:
8 years, 6 months ago by Andrew T Wilson (Slow)
Modified:
8 years, 6 months ago
Reviewers:
Nikita (slow)
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, bartfab (slow)
Visibility:
Public.

Description

Fix ScreenLocker to not send notifications with empty passwords. bartfab ran into this as a result of an unrelated patch he was testing. The logic in ScreenLocker should match that in LoginUtils, and not send this notification out if the password is blank. BUG=chromium-os:31600 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141252

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -14 lines) Patch
M chrome/browser/chromeos/login/screen_locker.cc View 1 1 chunk +12 lines, -14 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Andrew T Wilson (Slow)
PTAL
8 years, 6 months ago (2012-06-07 00:48:35 UTC) #1
Nikita (slow)
http://codereview.chromium.org/10544043/diff/1/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/10544043/diff/1/chrome/browser/chromeos/login/screen_locker.cc#newcode189 chrome/browser/chromeos/login/screen_locker.cc:189: if (profile && !password.empty()) { How could you end ...
8 years, 6 months ago (2012-06-07 09:43:59 UTC) #2
Nikita (slow)
In case of LoginUtils there's a clear state when we end up in that state: ...
8 years, 6 months ago (2012-06-07 09:46:36 UTC) #3
Andrew T Wilson (Slow)
PTAL. I can add a DCHECK() here if you are convinced that we should never ...
8 years, 6 months ago (2012-06-07 17:22:42 UTC) #4
Nikita (slow)
lgtm Yes, I think this issue could only reproduce in automated tests.
8 years, 6 months ago (2012-06-08 17:25:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/10544043/6002
8 years, 6 months ago (2012-06-08 17:36:37 UTC) #6
commit-bot: I haz the power
8 years, 6 months ago (2012-06-08 19:22:37 UTC) #7
Change committed as 141252

Powered by Google App Engine
This is Rietveld 408576698