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

Issue 2876673002: mojo api for view based lockscreen (Closed)

Created:
3 years, 7 months ago by xiaoyinh(OOO Sep 11-29)
Modified:
3 years, 7 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tfarina, 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, sky
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mojo api for view based lockscreen. BUG=721524 Review-Url: https://codereview.chromium.org/2876673002 Cr-Commit-Position: refs/heads/master@{#472966} Committed: https://chromium.googlesource.com/chromium/src/+/2bbdd107bcc11f6b41469249dfc51bac7b25eb01

Patch Set 1 #

Total comments: 5

Patch Set 2 : comments and rebase #

Total comments: 7

Patch Set 3 : hash password before sending it through mojo. #

Total comments: 8

Patch Set 4 : comments and rebase #

Patch Set 5 : comment #

Total comments: 23

Patch Set 6 : comments #

Total comments: 14

Patch Set 7 : comments #

Total comments: 2

Patch Set 8 : Add a TODO and rebase #

Total comments: 4

Patch Set 9 : Incorporate comments from patch set 8 and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -12 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
A ash/login/DEPS View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A ash/login/lock_screen_controller.h View 1 2 3 4 5 6 1 chunk +63 lines, -0 lines 0 comments Download
A ash/login/lock_screen_controller.cc View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -0 lines 0 comments Download
A ash/login/lock_screen_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +61 lines, -0 lines 0 comments Download
M ash/login/ui/lock_contents_view.cc View 1 2 3 4 5 2 chunks +11 lines, -2 lines 0 comments Download
M ash/mojo_interface_factory.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -0 lines 0 comments Download
M ash/mus/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/manifest.json View 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/window_manager_application.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M ash/public/interfaces/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A ash/public/interfaces/lock_screen.mojom View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M ash/test/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 4 5 6 7 8 4 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/lock_screen_client.h View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/lock_screen_client.cc View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 69 (39 generated)
xiaoyinh(OOO Sep 11-29)
jdufault@, could you help to take a look? This has a very simple mojo interface ...
3 years, 7 months ago (2017-05-11 00:14:35 UTC) #4
jdufault
General approach seems good https://codereview.chromium.org/2876673002/diff/1/ash/login/ui/lock_contents_view.cc File ash/login/ui/lock_contents_view.cc (right): https://codereview.chromium.org/2876673002/diff/1/ash/login/ui/lock_contents_view.cc#newcode40 ash/login/ui/lock_contents_view.cc:40: const int user_index = 0; ...
3 years, 7 months ago (2017-05-11 01:14:51 UTC) #7
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2876673002/diff/1/ash/login/ui/lock_contents_view.cc File ash/login/ui/lock_contents_view.cc (right): https://codereview.chromium.org/2876673002/diff/1/ash/login/ui/lock_contents_view.cc#newcode40 ash/login/ui/lock_contents_view.cc:40: const int user_index = 0; On 2017/05/11 01:14:51, jdufault ...
3 years, 7 months ago (2017-05-11 20:29:52 UTC) #12
jdufault
https://codereview.chromium.org/2876673002/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc File chrome/browser/chromeos/login/lock/screen_locker.cc (right): https://codereview.chromium.org/2876673002/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc#newcode298 chrome/browser/chromeos/login/lock/screen_locker.cc:298: LockScreenClientChromeOS::Get()->ShowErrorMessage(); On 2017/05/11 20:29:52, xiaoyinh wrote: > On 2017/05/11 ...
3 years, 7 months ago (2017-05-11 20:34:06 UTC) #13
xiaoyinh(OOO Sep 11-29)
xiyuan@, jamescook@, could you take a look and let me know?
3 years, 7 months ago (2017-05-11 20:46:35 UTC) #16
xiyuan
https://codereview.chromium.org/2876673002/diff/20001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2876673002/diff/20001/ash/public/interfaces/lock_screen.mojom#newcode15 ash/public/interfaces/lock_screen.mojom:15: ShowErrorMessage(); Do we need the error message to be ...
3 years, 7 months ago (2017-05-11 21:17:33 UTC) #17
xiaoyinh(OOO Sep 11-29)
On 2017/05/11 20:34:06, jdufault wrote: > https://codereview.chromium.org/2876673002/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc > File chrome/browser/chromeos/login/lock/screen_locker.cc (right): > > https://codereview.chromium.org/2876673002/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc#newcode298 > ...
3 years, 7 months ago (2017-05-13 00:29:14 UTC) #20
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2876673002/diff/20001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2876673002/diff/20001/ash/public/interfaces/lock_screen.mojom#newcode15 ash/public/interfaces/lock_screen.mojom:15: ShowErrorMessage(); On 2017/05/11 21:17:33, xiyuan wrote: > Do we ...
3 years, 7 months ago (2017-05-13 00:29:49 UTC) #21
jdufault
https://codereview.chromium.org/2876673002/diff/40001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/40001/ash/login/lock_screen_controller.cc#newcode26 ash/login/lock_screen_controller.cc:26: // Hash password before sending through mojo. Instead of ...
3 years, 7 months ago (2017-05-13 00:57:40 UTC) #22
sadrul
Any chance this new lockscreen could live out of ash? It could live in, for ...
3 years, 7 months ago (2017-05-13 05:16:47 UTC) #26
jdufault
On 2017/05/13 05:16:47, sadrul wrote: > Any chance this new lockscreen could live out of ...
3 years, 7 months ago (2017-05-15 17:35:54 UTC) #27
sadrul
On 2017/05/15 17:35:54, jdufault wrote: > On 2017/05/13 05:16:47, sadrul wrote: > > Any chance ...
3 years, 7 months ago (2017-05-15 18:22:11 UTC) #28
James Cook
On 2017/05/15 18:22:11, sadrul wrote: > On 2017/05/15 17:35:54, jdufault wrote: > > On 2017/05/13 ...
3 years, 7 months ago (2017-05-15 19:30:30 UTC) #31
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2876673002/diff/40001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/40001/ash/login/lock_screen_controller.cc#newcode26 ash/login/lock_screen_controller.cc:26: // Hash password before sending through mojo. On 2017/05/13 ...
3 years, 7 months ago (2017-05-15 20:13:05 UTC) #34
xiyuan
https://codereview.chromium.org/2876673002/diff/20001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2876673002/diff/20001/ash/public/interfaces/lock_screen.mojom#newcode15 ash/public/interfaces/lock_screen.mojom:15: ShowErrorMessage(); On 2017/05/13 00:29:49, xiaoyinh wrote: > On 2017/05/11 ...
3 years, 7 months ago (2017-05-15 20:39:41 UTC) #35
James Cook
https://codereview.chromium.org/2876673002/diff/80001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/80001/ash/login/lock_screen_controller.cc#newcode69 ash/login/lock_screen_controller.cc:69: } Please write a test for this class. It ...
3 years, 7 months ago (2017-05-15 21:15:01 UTC) #36
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2876673002/diff/80001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/80001/ash/login/lock_screen_controller.cc#newcode13 ash/login/lock_screen_controller.cc:13: chromeos::SystemSaltGetter::Get()->GetSystemSalt(base::Bind( On 2017/05/15 20:39:41, xiyuan wrote: > SystemSaltGetter::Get() could ...
3 years, 7 months ago (2017-05-16 17:32:50 UTC) #41
xiyuan
Mostly good. https://codereview.chromium.org/2876673002/diff/100001/ash/login/lock_screen_controller.h File ash/login/lock_screen_controller.h (right): https://codereview.chromium.org/2876673002/diff/100001/ash/login/lock_screen_controller.h#newcode40 ash/login/lock_screen_controller.h:40: // error messages in the lock screen ...
3 years, 7 months ago (2017-05-16 18:22:25 UTC) #42
James Cook
LGTM once xiyuan is happy with it. Nice patch! https://codereview.chromium.org/2876673002/diff/100001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/100001/ash/login/lock_screen_controller.cc#newcode12 ash/login/lock_screen_controller.cc:12: ...
3 years, 7 months ago (2017-05-16 20:05:02 UTC) #45
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2876673002/diff/100001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/100001/ash/login/lock_screen_controller.cc#newcode12 ash/login/lock_screen_controller.cc:12: LockScreenController::LockScreenController() {} On 2017/05/16 20:05:02, James Cook wrote: > ...
3 years, 7 months ago (2017-05-16 21:11:31 UTC) #47
xiyuan
lgtm +tsepez@ for lock_screen.mojom changes.
3 years, 7 months ago (2017-05-16 21:27:32 UTC) #50
xiaoyinh(OOO Sep 11-29)
dkrahn@, could you help to review the following? ash/login/DEPS ash/mus/DEPS ash/test/DEPS where I add chromeos/cryptohome ...
3 years, 7 months ago (2017-05-16 21:27:40 UTC) #52
Tom Sepez
https://codereview.chromium.org/2876673002/diff/120001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2876673002/diff/120001/ash/public/interfaces/lock_screen.mojom#newcode39 ash/public/interfaces/lock_screen.mojom:39: AuthenticateUser(signin.mojom.AccountId account_id, The code under this is still checking ...
3 years, 7 months ago (2017-05-16 21:50:15 UTC) #53
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2876673002/diff/120001/ash/public/interfaces/lock_screen.mojom File ash/public/interfaces/lock_screen.mojom (right): https://codereview.chromium.org/2876673002/diff/120001/ash/public/interfaces/lock_screen.mojom#newcode39 ash/public/interfaces/lock_screen.mojom:39: AuthenticateUser(signin.mojom.AccountId account_id, On 2017/05/16 21:50:15, Tom Sepez wrote: > ...
3 years, 7 months ago (2017-05-16 22:25:38 UTC) #54
Tom Sepez
lgtm
3 years, 7 months ago (2017-05-17 18:58:49 UTC) #57
dkrahn
On 2017/05/16 21:27:40, xiaoyinh wrote: > dkrahn@, could you help to review the following? > ...
3 years, 7 months ago (2017-05-17 20:20:37 UTC) #58
jdufault
lgtm with 2 nits https://codereview.chromium.org/2876673002/diff/140001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/140001/ash/login/lock_screen_controller.cc#newcode52 ash/login/lock_screen_controller.cc:52: if (lock_screen_client_) { nit: invert ...
3 years, 7 months ago (2017-05-17 20:38:22 UTC) #59
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2876673002/diff/140001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2876673002/diff/140001/ash/login/lock_screen_controller.cc#newcode52 ash/login/lock_screen_controller.cc:52: if (lock_screen_client_) { On 2017/05/17 20:38:22, jdufault wrote: > ...
3 years, 7 months ago (2017-05-18 17:33:50 UTC) #62
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/2876673002/160001
3 years, 7 months ago (2017-05-18 22:54:39 UTC) #66
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 23:30:06 UTC) #69
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/2bbdd107bcc11f6b41469249dfc5...

Powered by Google App Engine
This is Rietveld 408576698