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

Issue 168623003: Add chrome.screenlockPrivate API functions to handle alternate auth types. (Closed)

Created:
6 years, 10 months ago by Tim Song
Modified:
6 years, 10 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, Ilya Sherman, asvitkine+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, jar (doing other things)
Visibility:
Public.

Description

Add chrome.screenlockPrivate API functions to handle alternate auth types. This CL adds the hideButton, setAuthType and getAuthType functions and the onAuthAttempted event to the chrome.screenlockPrivate namespace. The implementation of this API for ChromeOS is done in a separate CL. BUG=344179 TEST=new api test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253447

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : update name #

Patch Set 4 : acceptAuthAttempt #

Patch Set 5 : update tests #

Total comments: 6

Patch Set 6 : fixes #

Patch Set 7 : update screen locker to send event #

Total comments: 7

Patch Set 8 : histogram #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -66 lines) Patch
M chrome/browser/chromeos/extensions/screenlock_private_api.h View 1 2 3 3 chunks +58 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/screenlock_private_api.cc View 1 2 3 4 5 4 chunks +150 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/screenlock_private_apitest.cc View 1 chunk +62 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/screenlock_private.idl View 1 2 3 4 5 2 chunks +36 lines, -3 lines 0 comments Download
D chrome/test/data/extensions/api_test/screenlockPrivate/manifest.json View 1 chunk +0 lines, -7 lines 0 comments Download
D chrome/test/data/extensions/api_test/screenlockPrivate/test.js View 1 chunk +0 lines, -44 lines 0 comments Download
A + chrome/test/data/extensions/api_test/screenlock_private/auth_type/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/screenlock_private/auth_type/test.js View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/screenlock_private/lock_unlock/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/screenlock_private/lock_unlock/test.js View 1 chunk +5 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
Tim Song
The implementation for the ChromeOS lock screen is split into this CL: https://codereview.chromium.org/168623003/
6 years, 10 months ago (2014-02-16 07:02:15 UTC) #1
Tim Song
On 2014/02/16 07:02:15, Tim Song wrote: > The implementation for the ChromeOS lock screen is ...
6 years, 10 months ago (2014-02-16 07:03:07 UTC) #2
Tim Song
Please take a look.
6 years, 10 months ago (2014-02-20 00:58:21 UTC) #3
not at google - send to devlin
IDL file lgtm, I didn't look at the implementation, could you find somebody familiar with ...
6 years, 10 months ago (2014-02-20 01:16:19 UTC) #4
Tim Song
Thank you for the review. +xiyuan@ for reviewing implementation details. https://codereview.chromium.org/168623003/diff/160001/chrome/common/extensions/api/screenlock_private.idl File chrome/common/extensions/api/screenlock_private.idl (right): https://codereview.chromium.org/168623003/diff/160001/chrome/common/extensions/api/screenlock_private.idl#newcode50 ...
6 years, 10 months ago (2014-02-20 01:37:46 UTC) #5
not at google - send to devlin
On 2014/02/20 01:37:46, Tim Song wrote: > Thank you for the review. > > +xiyuan@ ...
6 years, 10 months ago (2014-02-20 01:49:51 UTC) #6
xiyuan
LGTM https://codereview.chromium.org/168623003/diff/160001/chrome/browser/chromeos/extensions/screenlock_private_api.cc File chrome/browser/chromeos/extensions/screenlock_private_api.cc (right): https://codereview.chromium.org/168623003/diff/160001/chrome/browser/chromeos/extensions/screenlock_private_api.cc#newcode237 chrome/browser/chromeos/extensions/screenlock_private_api.cc:237: locker->Hide(); Isn't Hide() a static method? https://codereview.chromium.org/168623003/diff/160001/chrome/common/extensions/api/screenlock_private.idl File ...
6 years, 10 months ago (2014-02-20 17:44:43 UTC) #7
Tim Song
It doesn't seem like it's worth the effort and complexity to add the function to ...
6 years, 10 months ago (2014-02-20 21:06:07 UTC) #8
Tim Song
The CQ bit was checked by tengs@chromium.org
6 years, 10 months ago (2014-02-21 01:52:09 UTC) #9
Tim Song
The CQ bit was unchecked by tengs@chromium.org
6 years, 10 months ago (2014-02-21 01:52:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/260001
6 years, 10 months ago (2014-02-21 01:52:24 UTC) #11
Tim Song
The CQ bit was checked by tengs@chromium.org
6 years, 10 months ago (2014-02-22 23:49:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/360001
6 years, 10 months ago (2014-02-22 23:49:40 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-22 23:53:08 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 10 months ago (2014-02-22 23:53:08 UTC) #15
Tim Song
+asvitkine@ for histograms.xml
6 years, 10 months ago (2014-02-22 23:54:34 UTC) #16
Alexei Svitkine (slow)
https://codereview.chromium.org/168623003/diff/360001/chrome/browser/extensions/extension_function_histogram_value.h File chrome/browser/extensions/extension_function_histogram_value.h (right): https://codereview.chromium.org/168623003/diff/360001/chrome/browser/extensions/extension_function_histogram_value.h#newcode755 chrome/browser/extensions/extension_function_histogram_value.h:755: ENUM_BOUNDARY // Last entry: Add new entries above. Nit: ...
6 years, 10 months ago (2014-02-24 15:54:33 UTC) #17
Tim Song
https://codereview.chromium.org/168623003/diff/360001/chrome/browser/extensions/extension_function_histogram_value.h File chrome/browser/extensions/extension_function_histogram_value.h (right): https://codereview.chromium.org/168623003/diff/360001/chrome/browser/extensions/extension_function_histogram_value.h#newcode755 chrome/browser/extensions/extension_function_histogram_value.h:755: ENUM_BOUNDARY // Last entry: Add new entries above. On ...
6 years, 10 months ago (2014-02-24 19:10:57 UTC) #18
Alexei Svitkine (slow)
https://codereview.chromium.org/168623003/diff/360001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/168623003/diff/360001/tools/metrics/histograms/histograms.xml#newcode26146 tools/metrics/histograms/histograms.xml:26146: + <int value="686" label="SCREENLOCKPRIVATE_HIDEBUTTON"/> On 2014/02/24 19:10:58, Tim Song ...
6 years, 10 months ago (2014-02-24 19:16:10 UTC) #19
Tim Song
https://codereview.chromium.org/168623003/diff/360001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/168623003/diff/360001/tools/metrics/histograms/histograms.xml#newcode26146 tools/metrics/histograms/histograms.xml:26146: + <int value="686" label="SCREENLOCKPRIVATE_HIDEBUTTON"/> On 2014/02/24 19:16:10, Alexei Svitkine ...
6 years, 10 months ago (2014-02-24 19:22:53 UTC) #20
Alexei Svitkine (slow)
LGTM, thanks https://codereview.chromium.org/168623003/diff/360001/chrome/browser/extensions/extension_function_histogram_value.h File chrome/browser/extensions/extension_function_histogram_value.h (right): https://codereview.chromium.org/168623003/diff/360001/chrome/browser/extensions/extension_function_histogram_value.h#newcode755 chrome/browser/extensions/extension_function_histogram_value.h:755: ENUM_BOUNDARY // Last entry: Add new entries ...
6 years, 10 months ago (2014-02-24 19:25:18 UTC) #21
Tim Song
The CQ bit was checked by tengs@chromium.org
6 years, 10 months ago (2014-02-25 03:33:43 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/540001
6 years, 10 months ago (2014-02-25 03:36:03 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-25 03:36:14 UTC) #24
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-25 03:36:14 UTC) #25
Tim Song
The CQ bit was checked by tengs@chromium.org
6 years, 10 months ago (2014-02-25 18:21:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/720001
6 years, 10 months ago (2014-02-25 18:23:47 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/720001
6 years, 10 months ago (2014-02-25 21:51:09 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/720001
6 years, 10 months ago (2014-02-25 22:16:14 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/720001
6 years, 10 months ago (2014-02-25 23:19:41 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/720001
6 years, 10 months ago (2014-02-26 00:06:24 UTC) #31
Paweł Hajdan Jr.
The CQ bit was unchecked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-26 05:33:58 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-26 05:34:55 UTC) #33
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-26 05:42:28 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/168623003/720001
6 years, 10 months ago (2014-02-26 05:52:33 UTC) #35
commit-bot: I haz the power
6 years, 10 months ago (2014-02-26 14:41:55 UTC) #36
Message was sent while issue was closed.
Change committed as 253447

Powered by Google App Engine
This is Rietveld 408576698