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

Side by Side Diff: third_party/WebKit/Source/modules/credentialmanager/CredentialRequestOptions.idl

Issue 2864493003: Deprecate CredentialRequestOptions.unmediated in favor mediation enum (Closed)
Patch Set: Security Owners Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/webappsec/specs/credentialmanagement/#dictdef-credentia lrequestoptions 5 // https://w3c.github.io/webappsec-credential-management/#dictdef-credentialrequ estoptions
6
7 [RuntimeEnabled=CredentialRequestOptionsMediation]
vasilii 2017/05/18 16:16:12 What is the motivation for this?
jdoerrie 2017/05/19 09:03:18 I added this so that we are not blocked by the int
8 enum CredentialMediationRequirement {
9 "silent",
10 "optional",
11 "required"
12 };
6 13
7 dictionary CredentialRequestOptions { 14 dictionary CredentialRequestOptions {
8 FederatedCredentialRequestOptions federated; 15 FederatedCredentialRequestOptions federated;
9 16
10 boolean password = false; 17 boolean password = false;
11 boolean unmediated = false; 18 // Defaults to false. This is not set here to detect when both 'unmediated'
19 // and 'mediation' are user provided, which results in an error.
20 [DeprecateAs=CredentialManagerCredentialRequestOptionsUnmediated] boolean
21 unmediated;
22 // Defaults to "optional". This is not set here to detect when both
23 // 'unmediated' and 'mediation' are user provided, which results in an
24 // error.
25 [RuntimeEnabled=CredentialRequestOptionsMediation] CredentialMediationRequir ement mediation;
12 }; 26 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698