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

Issue 258123002: Implement a second version of the credentials passing API (Closed)

Created:
6 years, 7 months ago by bartfab (slow)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, arv+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Implement a second version of the credentials passing API In version 2 of the API, initialize() returns the list of supported key types and add() expects one of these key types to be specified. At the moment, the only supported key type is KEY_TYPE_PASSWORD_PLAIN but this can now be expanded without changing the API. BUG=367847 TEST=Extended browser test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268278

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed comment. #

Total comments: 4

Patch Set 3 : Added comment that explains the encoding of passwordBytes. #

Patch Set 4 : One more s/requested_version/requestedVersion/ I had missed. Thank you for catching this, browser_t… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -62 lines) Patch
M chrome/browser/chromeos/login/saml/saml_browsertest.cc View 1 chunk +20 lines, -3 lines 0 comments Download
M chrome/browser/resources/gaia_auth/background.js View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/gaia_auth/main.js View 1 2 3 10 chunks +92 lines, -10 lines 0 comments Download
M chrome/browser/resources/gaia_auth/saml_injected.js View 3 chunks +14 lines, -11 lines 0 comments Download
D chrome/test/data/login/saml_api_login.html View 1 chunk +0 lines, -37 lines 0 comments Download
A + chrome/test/data/login/saml_api_login_v1.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/login/saml_api_login_v2.html View 1 2 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
bartfab (slow)
Hi Nikita, Could you please review?
6 years, 7 months ago (2014-04-28 17:32:25 UTC) #1
Nikita (slow)
+Xiyuan
6 years, 7 months ago (2014-04-29 11:01:51 UTC) #2
Nikita (slow)
lgtm
6 years, 7 months ago (2014-04-29 11:13:13 UTC) #3
xiyuan
https://codereview.chromium.org/258123002/diff/1/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/258123002/diff/1/chrome/browser/resources/gaia_auth/main.js#newcode51 chrome/browser/resources/gaia_auth/main.js:51: passwordBytes_: null, This seems to imply that it could ...
6 years, 7 months ago (2014-04-29 17:26:35 UTC) #4
bartfab (slow)
https://codereview.chromium.org/258123002/diff/1/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/258123002/diff/1/chrome/browser/resources/gaia_auth/main.js#newcode51 chrome/browser/resources/gaia_auth/main.js:51: passwordBytes_: null, On 2014/04/29 17:26:35, xiyuan wrote: > This ...
6 years, 7 months ago (2014-04-30 08:52:41 UTC) #5
xiyuan
lgtm https://codereview.chromium.org/258123002/diff/1/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/258123002/diff/1/chrome/browser/resources/gaia_auth/main.js#newcode51 chrome/browser/resources/gaia_auth/main.js:51: passwordBytes_: null, On 2014/04/30 08:52:41, bartfab wrote: > ...
6 years, 7 months ago (2014-04-30 16:46:41 UTC) #6
Jorge Lucangeli Obes
https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js#newcode35 chrome/browser/resources/gaia_auth/main.js:35: 'KEY_TYPE_PASSWORD_PLAIN', Is this equivalent of what we're doing in ...
6 years, 7 months ago (2014-04-30 22:31:37 UTC) #7
bartfab (slow)
https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js#newcode35 chrome/browser/resources/gaia_auth/main.js:35: 'KEY_TYPE_PASSWORD_PLAIN', On 2014/04/30 22:31:37, Jorge Lucangeli Obes wrote: > ...
6 years, 7 months ago (2014-05-01 22:47:48 UTC) #8
Jorge Lucangeli Obes
https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js#newcode35 chrome/browser/resources/gaia_auth/main.js:35: 'KEY_TYPE_PASSWORD_PLAIN', On 2014/05/01 22:47:48, bartfab wrote: > On 2014/04/30 ...
6 years, 7 months ago (2014-05-01 23:00:24 UTC) #9
bartfab (slow)
https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js#newcode35 chrome/browser/resources/gaia_auth/main.js:35: 'KEY_TYPE_PASSWORD_PLAIN', On 2014/05/01 23:00:24, Jorge Lucangeli Obes wrote: > ...
6 years, 7 months ago (2014-05-02 06:29:53 UTC) #10
Jorge Lucangeli Obes
On 2014/05/02 06:29:53, bartfab wrote: > https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js > File chrome/browser/resources/gaia_auth/main.js (right): > > https://codereview.chromium.org/258123002/diff/20001/chrome/browser/resources/gaia_auth/main.js#newcode35 > ...
6 years, 7 months ago (2014-05-02 18:17:17 UTC) #11
bartfab (slow)
On 2014/04/30 16:46:41, xiyuan wrote: > lgtm > > https://codereview.chromium.org/258123002/diff/1/chrome/browser/resources/gaia_auth/main.js > File chrome/browser/resources/gaia_auth/main.js (right): > ...
6 years, 7 months ago (2014-05-05 12:30:50 UTC) #12
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-05-05 12:30:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/258123002/40001
6 years, 7 months ago (2014-05-05 12:31:08 UTC) #14
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-05 16:17:34 UTC) #15
bartfab (slow)
The CQ bit was unchecked by bartfab@chromium.org
6 years, 7 months ago (2014-05-05 16:19:01 UTC) #16
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-05-05 18:08:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/258123002/60001
6 years, 7 months ago (2014-05-05 18:10:02 UTC) #18
commit-bot: I haz the power
6 years, 7 months ago (2014-05-05 21:43:41 UTC) #19
Message was sent while issue was closed.
Change committed as 268278

Powered by Google App Engine
This is Rietveld 408576698