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

Issue 1096293003: Move screenlock_bridge to components/proximity_auth (Closed)

Created:
5 years, 8 months ago by msarda
Modified:
5 years, 8 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, dzhioev+watch_chromium.org, asvitkine+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ScreenlockBridge to components/proximity_auth. This CL moves ScreenlockBridge to components/proximity_auth. It also moves the usage of profile out of ScreenLockBridge as this dependency is forbidden in //components. TBR=rogerta,antrim,rdevlin.cronin,tengs BUG=479670 Committed: https://crrev.com/f80a09109fae223241b5462e20a3556edfbd6740 Cr-Commit-Position: refs/heads/master@{#327049}

Patch Set 1 #

Patch Set 2 : reset upstream branch #

Patch Set 3 : Move components/signin/content/screenlock_bridge.cc #

Patch Set 4 : git cl format #

Total comments: 2

Patch Set 5 : Fix linux build #

Total comments: 8

Patch Set 6 : Rebase #

Patch Set 7 : Move screenlock_bridge in proximity_auth. #

Patch Set 8 : Move screenlock_bridge in proximity_auth. #

Patch Set 9 : Remove unnecessary diff #

Patch Set 10 : Fix components/proximity_auth/BUILD.gn #

Patch Set 11 : More cleanup #

Patch Set 12 : Add proximity auth client and the chrome glue. #

Total comments: 28

Patch Set 13 : Fix build. #

Patch Set 14 : Fix nits in easy_unlock_util.cc #

Patch Set 15 : More nits #

Patch Set 16 : Rebase #

Total comments: 36

Patch Set 17 : Address code review #

Patch Set 18 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+498 lines, -701 lines) Patch
M chrome/browser/chromeos/login/app_launch_signin_screen.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/app_launch_signin_screen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/easy_unlock/bootstrap_user_flow.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_selection_screen.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_selection_screen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/ui/views/user_board_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +17 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/signin/easy_unlock_auth_attempt.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +13 lines, -12 lines 0 comments Download
M chrome/browser/signin/easy_unlock_auth_attempt_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 26 chunks +33 lines, -29 lines 0 comments Download
M chrome/browser/signin/easy_unlock_screenlock_state_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/signin/easy_unlock_screenlock_state_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +41 lines, -32 lines 0 comments Download
M chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 28 chunks +53 lines, -49 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service_regular.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service_regular.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service_signin_chromeos.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service_signin_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +10 lines, -6 lines 0 comments Download
A chrome/browser/signin/proximity_auth_facade.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/signin/proximity_auth_facade.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +76 lines, -0 lines 0 comments Download
D chrome/browser/signin/screenlock_bridge.h View 1 chunk +0 lines, -192 lines 0 comments Download
D chrome/browser/signin/screenlock_bridge.cc View 1 chunk +0 lines, -190 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_userlist_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/supervised_user_creation_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +15 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +16 lines, -13 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -2 lines 0 comments Download
M components/proximity_auth.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 1 chunk +3 lines, -0 lines 0 comments Download
M components/proximity_auth/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M components/proximity_auth/DEPS View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
A components/proximity_auth/proximity_auth_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +39 lines, -0 lines 0 comments Download
A + components/proximity_auth/screenlock_bridge.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +21 lines, -23 lines 0 comments Download
A + components/proximity_auth/screenlock_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +19 lines, -33 lines 0 comments Download

Messages

Total messages: 36 (13 generated)
msarda
Ilya: This CL is still missing a BUILD.gn file. I just want to have a ...
5 years, 8 months ago (2015-04-21 16:02:57 UTC) #2
Ilya Sherman
Thanks, Mihai. https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc File chrome/browser/chromeos/login/screens/user_selection_screen.cc (right): https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc#newcode502 chrome/browser/chromeos/login/screens/user_selection_screen.cc:502: SigninManagerFactory::GetForProfile(profile); This is not exactly equivalent to ...
5 years, 8 months ago (2015-04-21 23:02:39 UTC) #3
msarda
Please take another look. https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc File chrome/browser/chromeos/login/screens/user_selection_screen.cc (right): https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc#newcode502 chrome/browser/chromeos/login/screens/user_selection_screen.cc:502: SigninManagerFactory::GetForProfile(profile); On 2015/04/21 23:02:39, Ilya ...
5 years, 8 months ago (2015-04-22 16:42:42 UTC) #4
Ilya Sherman
https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc File chrome/browser/chromeos/login/screens/user_selection_screen.cc (right): https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc#newcode504 chrome/browser/chromeos/login/screens/user_selection_screen.cc:504: } On 2015/04/22 16:42:42, msarda wrote: > On 2015/04/21 ...
5 years, 8 months ago (2015-04-23 07:09:48 UTC) #5
msarda
On 2015/04/23 07:09:48, Ilya Sherman wrote: > https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc > File chrome/browser/chromeos/login/screens/user_selection_screen.cc (right): > > https://codereview.chromium.org/1096293003/diff/10040/chrome/browser/chromeos/login/screens/user_selection_screen.cc#newcode504 ...
5 years, 8 months ago (2015-04-23 08:17:38 UTC) #6
msarda
R+ Sylvain to have a local reviewer and avoid long review cycles. I've added the ...
5 years, 8 months ago (2015-04-23 12:08:42 UTC) #10
Ilya Sherman
Thanks, Mihai, this looks much better. At some point, we'll presumably need code within the ...
5 years, 8 months ago (2015-04-23 20:52:54 UTC) #11
sdefresne
https://codereview.chromium.org/1096293003/diff/250001/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc File chrome/browser/signin/easy_unlock_service_signin_chromeos.cc (right): https://codereview.chromium.org/1096293003/diff/250001/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc#newcode22 chrome/browser/signin/easy_unlock_service_signin_chromeos.cc:22: #include "components/proximity_auth/screenlock_bridge.h" https://codereview.chromium.org/1096293003/diff/250001/chrome/browser/signin/easy_unlock_util.cc File chrome/browser/signin/easy_unlock_util.cc (right): https://codereview.chromium.org/1096293003/diff/250001/chrome/browser/signin/easy_unlock_util.cc#newcode24 chrome/browser/signin/easy_unlock_util.cc:24: virtual ...
5 years, 8 months ago (2015-04-24 14:22:03 UTC) #12
msarda
https://codereview.chromium.org/1096293003/diff/250001/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc File chrome/browser/signin/easy_unlock_service_signin_chromeos.cc (right): https://codereview.chromium.org/1096293003/diff/250001/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc#newcode22 chrome/browser/signin/easy_unlock_service_signin_chromeos.cc:22: On 2015/04/24 14:22:02, sdefresne wrote: > #include "components/proximity_auth/screenlock_bridge.h" Not ...
5 years, 8 months ago (2015-04-24 15:47:06 UTC) #13
msarda
R+ derat@ Dan: Please take a look at the DEPS change in components/proximity_auth/DEPS. Thank you.
5 years, 8 months ago (2015-04-24 15:49:32 UTC) #15
msarda
TBR+ Roger as sign-in OWNER.
5 years, 8 months ago (2015-04-24 15:52:41 UTC) #17
msarda
5 years, 8 months ago (2015-04-24 15:56:43 UTC) #19
Daniel Erat
lgtm for chromeos/ dependency in components/proximity_auth/DEPS
5 years, 8 months ago (2015-04-24 16:00:03 UTC) #20
Ilya Sherman
Thanks, Mihai. LGTM % the remaining nits. https://codereview.chromium.org/1096293003/diff/330001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc File chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc (right): https://codereview.chromium.org/1096293003/diff/330001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc#newcode10 chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc:10: #include "chrome/browser/signin/easy_unlock_util.h" ...
5 years, 8 months ago (2015-04-24 21:22:02 UTC) #21
msarda
https://codereview.chromium.org/1096293003/diff/330001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc File chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc (right): https://codereview.chromium.org/1096293003/diff/330001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc#newcode10 chrome/browser/chromeos/login/easy_unlock/easy_unlock_reauth.cc:10: #include "chrome/browser/signin/easy_unlock_util.h" On 2015/04/24 21:22:01, Ilya Sherman wrote: > ...
5 years, 8 months ago (2015-04-27 11:29:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096293003/370001
5 years, 8 months ago (2015-04-27 11:33:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/31424)
5 years, 8 months ago (2015-04-27 11:38:28 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096293003/370001
5 years, 8 months ago (2015-04-27 12:11:14 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/52439)
5 years, 8 months ago (2015-04-27 13:42:52 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096293003/370001
5 years, 8 months ago (2015-04-27 13:57:28 UTC) #33
commit-bot: I haz the power
Committed patchset #18 (id:370001)
5 years, 8 months ago (2015-04-27 15:30:30 UTC) #34
commit-bot: I haz the power
Patchset 18 (id:??) landed as https://crrev.com/f80a09109fae223241b5462e20a3556edfbd6740 Cr-Commit-Position: refs/heads/master@{#327049}
5 years, 8 months ago (2015-04-27 15:31:27 UTC) #35
msarda
5 years, 8 months ago (2015-04-27 16:14:13 UTC) #36
Message was sent while issue was closed.
On 2015/04/27 15:31:27, I haz the power (commit-bot) wrote:
> Patchset 18 (id:??) landed as
> https://crrev.com/f80a09109fae223241b5462e20a3556edfbd6740
> Cr-Commit-Position: refs/heads/master@{#327049}

Thank you for the review.

Powered by Google App Engine
This is Rietveld 408576698