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

Issue 2923773003: Adding mojo calls for several lock screen related operations. (Closed)

Created:
3 years, 6 months ago by xiaoyinh(OOO Sep 11-29)
Modified:
3 years, 6 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, achuith+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, oshima+watch_chromium.org, kalyank, darin (slow to review), davemoore+watch_chromium.org, rkc
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding mojo calls for several lock screen related operations. This CL does the following: 1. Adding Mojo calls to: a. Notify chrome when user pod is focused/no user pod is focused, and when user has reached maximum incorrect password attempts. b. Send request to chrome to load wallpaper and sign out current user. c. Notify lockscreen views when pin unlock is enabled/disabled. 2. Move common helper functions out of SignInScreenHandler into lock_screen_utils so both WebUI handlers and Views based handlers (ViewsScreenLocker) can use. BUG=721524 Review-Url: https://codereview.chromium.org/2923773003 Cr-Commit-Position: refs/heads/master@{#479142} Committed: https://chromium.googlesource.com/chromium/src/+/f534c4f1aef85310aed3ca0ab432eb1bd1ae9d73

Patch Set 1 #

Patch Set 2 : trybot #

Patch Set 3 : clean up and rebase #

Patch Set 4 : clean up #

Total comments: 16

Patch Set 5 : comments and rebase #

Total comments: 16

Patch Set 6 : comments+rebase #

Total comments: 6

Patch Set 7 : comments and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+515 lines, -191 lines) Patch
M ash/login/lock_screen_controller.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M ash/login/lock_screen_controller.cc View 1 2 3 4 5 2 chunks +36 lines, -0 lines 0 comments Download
M ash/login/lock_screen_controller_unittest.cc View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M ash/login/mock_lock_screen_client.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M ash/public/interfaces/lock_screen.mojom View 1 2 3 4 5 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/lock/views_screen_locker.h View 1 2 3 4 5 4 chunks +30 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/lock/views_screen_locker.cc View 1 2 3 4 5 4 chunks +139 lines, -12 lines 0 comments Download
A chrome/browser/chromeos/login/lock_screen_utils.h View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/lock_screen_utils.cc View 1 2 3 4 5 1 chunk +148 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/lock_screen_client.h View 1 2 3 4 5 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/lock_screen_client.cc View 1 2 3 4 5 6 4 chunks +42 lines, -18 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 8 chunks +10 lines, -150 lines 0 comments Download

Messages

Total messages: 64 (44 generated)
xiaoyinh(OOO Sep 11-29)
jdufault@, could you take a look first? Thanks!
3 years, 6 months ago (2017-06-08 20:50:32 UTC) #18
jdufault
https://codereview.chromium.org/2923773003/diff/60001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2923773003/diff/60001/ash/public/interfaces/lock_screen.mojom#newcode78 ash/public/interfaces/lock_screen.mojom:78: // Requests to enable pin unlock for user in ...
3 years, 6 months ago (2017-06-08 21:12:06 UTC) #19
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2923773003/diff/60001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2923773003/diff/60001/ash/public/interfaces/lock_screen.mojom#newcode78 ash/public/interfaces/lock_screen.mojom:78: // Requests to enable pin unlock for user in ...
3 years, 6 months ago (2017-06-09 00:47:11 UTC) #24
xiaoyinh(OOO Sep 11-29)
xiyuan@, could you help to take a look?
3 years, 6 months ago (2017-06-12 17:43:29 UTC) #28
jdufault
lgtm https://codereview.chromium.org/2923773003/diff/80001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2923773003/diff/80001/ash/public/interfaces/lock_screen.mojom#newcode130 ash/public/interfaces/lock_screen.mojom:130: MaxIncorrectPasswordAttempts(signin.mojom.AccountId account_id); nit: OnMaxIncorrectPasswordAttemptsReached? https://codereview.chromium.org/2923773003/diff/80001/chrome/browser/chromeos/login/lock/views_screen_locker.cc File chrome/browser/chromeos/login/lock/views_screen_locker.cc (right): ...
3 years, 6 months ago (2017-06-12 18:05:49 UTC) #29
xiyuan
https://codereview.chromium.org/2923773003/diff/80001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2923773003/diff/80001/ash/public/interfaces/lock_screen.mojom#newcode118 ash/public/interfaces/lock_screen.mojom:118: FocusPod(signin.mojom.AccountId account_id); nit: This and NoPodFocused are more like ...
3 years, 6 months ago (2017-06-12 18:17:13 UTC) #30
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2923773003/diff/80001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2923773003/diff/80001/ash/public/interfaces/lock_screen.mojom#newcode118 ash/public/interfaces/lock_screen.mojom:118: FocusPod(signin.mojom.AccountId account_id); On 2017/06/12 18:17:13, xiyuan wrote: > nit: ...
3 years, 6 months ago (2017-06-12 21:53:54 UTC) #33
xiyuan
lgtm
3 years, 6 months ago (2017-06-12 22:16:24 UTC) #34
xiyuan
On 2017/06/12 22:16:24, xiyuan wrote: > lgtm Can you add more details to the CL ...
3 years, 6 months ago (2017-06-12 22:17:47 UTC) #35
xiaoyinh(OOO Sep 11-29)
On 2017/06/12 22:17:47, xiyuan wrote: > On 2017/06/12 22:16:24, xiyuan wrote: > > lgtm > ...
3 years, 6 months ago (2017-06-12 23:37:28 UTC) #39
xiaoyinh(OOO Sep 11-29)
+jamescook@ for chrome/browser/ui/ash +rsesek@ for ash/public/interfaces/lock_screen.mojom Could you help to take a look? Thanks!
3 years, 6 months ago (2017-06-12 23:45:39 UTC) #41
James Cook
LGTM with nits. Please change the first line of the description to match the "subject" ...
3 years, 6 months ago (2017-06-13 00:58:04 UTC) #42
xiyuan
On 2017/06/12 23:37:28, xiaoyinh wrote: > On 2017/06/12 22:17:47, xiyuan wrote: > > On 2017/06/12 ...
3 years, 6 months ago (2017-06-13 17:42:33 UTC) #44
Robert Sesek
lgtm
3 years, 6 months ago (2017-06-13 17:46:54 UTC) #45
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2923773003/diff/100001/chrome/browser/ui/ash/lock_screen_client.cc File chrome/browser/ui/ash/lock_screen_client.cc (right): https://codereview.chromium.org/2923773003/diff/100001/chrome/browser/ui/ash/lock_screen_client.cc#newcode80 chrome/browser/ui/ash/lock_screen_client.cc:80: if (!delegate_) On 2017/06/13 00:58:04, James Cook wrote: > ...
3 years, 6 months ago (2017-06-13 18:36:57 UTC) #53
xiaoyinh(OOO Sep 11-29)
On 2017/06/13 17:42:33, xiyuan wrote: > On 2017/06/12 23:37:28, xiaoyinh wrote: > > On 2017/06/12 ...
3 years, 6 months ago (2017-06-13 18:38:11 UTC) #54
James Cook
https://codereview.chromium.org/2923773003/diff/100001/chrome/browser/ui/ash/lock_screen_client.cc File chrome/browser/ui/ash/lock_screen_client.cc (right): https://codereview.chromium.org/2923773003/diff/100001/chrome/browser/ui/ash/lock_screen_client.cc#newcode89 chrome/browser/ui/ash/lock_screen_client.cc:89: } On 2017/06/13 18:36:56, xiaoyinh wrote: > On 2017/06/13 ...
3 years, 6 months ago (2017-06-13 20:38:34 UTC) #57
xiaoyinh(OOO Sep 11-29)
On 2017/06/13 20:38:34, James Cook wrote: > https://codereview.chromium.org/2923773003/diff/100001/chrome/browser/ui/ash/lock_screen_client.cc > File chrome/browser/ui/ash/lock_screen_client.cc (right): > > https://codereview.chromium.org/2923773003/diff/100001/chrome/browser/ui/ash/lock_screen_client.cc#newcode89 ...
3 years, 6 months ago (2017-06-13 20:43:50 UTC) #58
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/2923773003/120001
3 years, 6 months ago (2017-06-13 20:44:47 UTC) #61
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 20:50:46 UTC) #64
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/f534c4f1aef85310aed3ca0ab432...

Powered by Google App Engine
This is Rietveld 408576698