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

Unified Diff: third_party/WebKit/public/platform/WebCredentialMediationRequirement.h

Issue 2864493003: Deprecate CredentialRequestOptions.unmediated in favor mediation enum (Closed)
Patch Set: Fix Windows Compilation Error 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698