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

Issue 289013002: cros: Clean up screenlockPrivate plumbing. (Closed)

Created:
6 years, 7 months ago by xiyuan
Modified:
6 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

cros: Clean up screenlockPrivate plumbing. - Make SigninScreenHandler a ScreenlockBidge::LockHandler and get rid of middle layers; - Remove deprecated custom button click; - customButton -> customIcon renaming and HTML/js/css update; - Move api test out of cros; R=asargent@chromium.org, isherman@chromium.org, rogerta@chromium.org, tengs@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271714

Patch Set 1 #

Patch Set 2 : fix test compile #

Total comments: 8

Patch Set 3 : renaming, dom update, move OnAuthAttempted into SigninScreenHandler #

Total comments: 1

Patch Set 4 : update histograms.xml #

Patch Set 5 : rebase #

Patch Set 6 : fix apitest and move it out of cros #

Patch Set 7 : fix api test on non-cros #

Patch Set 8 : rebase #

Patch Set 9 : remove "multiple-signin-banner-text" #

Total comments: 2

Patch Set 10 : fix typo #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -626 lines) Patch
D chrome/browser/chromeos/extensions/screenlock_private_apitest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -78 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 4 5 6 7 6 chunks +0 lines, -105 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker_delegate.h View 1 2 3 4 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -34 lines 0 comments Download
M chrome/browser/chromeos/login/ui/mock_login_display.h View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_display.h View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_display.cc View 1 2 3 4 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h View 1 2 3 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc View 1 2 3 chunks +24 lines, -26 lines 0 comments Download
A + chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +21 lines, -15 lines 0 comments Download
M chrome/browser/resources/login/screen_account_picker.js View 1 2 2 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/resources/login/user_pod_row.css View 1 2 1 chunk +4 lines, -20 lines 0 comments Download
M chrome/browser/resources/login/user_pod_row.js View 1 2 11 chunks +15 lines, -34 lines 0 comments Download
M chrome/browser/resources/login/user_pod_template.html View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/signin/screenlock_bridge.h View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 2 3 4 9 chunks +25 lines, -30 lines 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 14 chunks +95 lines, -70 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.h View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 5 6 7 8 6 chunks +6 lines, -18 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/screenlock_private.idl View 1 2 2 chunks +4 lines, -7 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
xiyuan
6 years, 7 months ago (2014-05-15 17:09:55 UTC) #1
Tim Song
https://codereview.chromium.org/289013002/diff/20001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): https://codereview.chromium.org/289013002/diff/20001/chrome/browser/chromeos/login/screen_locker.cc#newcode266 chrome/browser/chromeos/login/screen_locker.cc:266: if (auth_type != ScreenlockBridge::LockHandler::OFFLINE_PASSWORD) { Does it still make ...
6 years, 7 months ago (2014-05-16 18:38:46 UTC) #2
xiyuan
https://codereview.chromium.org/289013002/diff/20001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): https://codereview.chromium.org/289013002/diff/20001/chrome/browser/chromeos/login/screen_locker.cc#newcode266 chrome/browser/chromeos/login/screen_locker.cc:266: if (auth_type != ScreenlockBridge::LockHandler::OFFLINE_PASSWORD) { On 2014/05/16 18:38:47, Tim ...
6 years, 7 months ago (2014-05-16 23:00:57 UTC) #3
Tim Song
lgtm https://codereview.chromium.org/289013002/diff/80001/extensions/browser/extension_function_histogram_value.h File extensions/browser/extension_function_histogram_value.h (right): https://codereview.chromium.org/289013002/diff/80001/extensions/browser/extension_function_histogram_value.h#newcode713 extensions/browser/extension_function_histogram_value.h:713: SCREENLOCKPRIVATE_SHOWCUSTOMICON, Update histograms.xml as well.
6 years, 7 months ago (2014-05-16 23:27:05 UTC) #4
xiyuan
Owners, your power of approval is needed. asargent@: extensions/* isherman@: histograms.xml Thanks.
6 years, 7 months ago (2014-05-17 03:41:12 UTC) #5
xiyuan
rogerta@, needs your approval for c/b/signin/screenlock_bridge.h Thanks.
6 years, 7 months ago (2014-05-17 06:40:16 UTC) #6
Ilya Sherman
histograms lgtm
6 years, 7 months ago (2014-05-17 21:38:12 UTC) #7
asargent_no_longer_on_chrome
extensions lgtm https://codereview.chromium.org/289013002/diff/200001/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc File chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc (right): https://codereview.chromium.org/289013002/diff/200001/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc#newcode35 chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc:35: // New profile managerment needs to be ...
6 years, 7 months ago (2014-05-19 17:53:46 UTC) #8
xiyuan
https://codereview.chromium.org/289013002/diff/200001/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc File chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc (right): https://codereview.chromium.org/289013002/diff/200001/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc#newcode35 chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc:35: // New profile managerment needs to be on for ...
6 years, 7 months ago (2014-05-19 17:57:21 UTC) #9
Roger Tawa OOO till Jul 10th
screenlock_bridge.h lgtm
6 years, 7 months ago (2014-05-20 13:34:09 UTC) #10
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 7 months ago (2014-05-20 17:10:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/289013002/240001
6 years, 7 months ago (2014-05-20 17:11:31 UTC) #12
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-20 18:10:34 UTC) #13
xiyuan
The CQ bit was unchecked by xiyuan@chromium.org
6 years, 7 months ago (2014-05-20 18:10:55 UTC) #14
xiyuan
6 years, 7 months ago (2014-05-20 18:13:47 UTC) #15
Message was sent while issue was closed.
Committed patchset #11 manually as r271714 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698