Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebCredentialMediationRequirement.h |
| diff --git a/third_party/WebKit/public/platform/WebCredentialMediationRequirement.h b/third_party/WebKit/public/platform/WebCredentialMediationRequirement.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e759dd0c57e531d40d5d006184e7ba83d1957161 |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/WebCredentialMediationRequirement.h |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebCredentialMediationRequirement_h |
| +#define WebCredentialMediationRequirement_h |
| + |
| +namespace blink { |
| + |
| +enum WebCredentialMediationRequirement { |
|
vasilii
2017/05/18 12:34:03
What about an enum class so you can drop the long
jdoerrie
2017/05/18 14:57:25
Done.
|
| + kWebCredentialManagerMediationRequirementSilent, |
| + kWebCredentialManagerMediationRequirementOptional, |
| + kWebCredentialManagerMediationRequirementRequired, |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif |