Index: third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h |
diff --git a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h |
index efaa4f524acf01403eb60a5e9908e1c396591ecb..202041b79aaee5e9654c917631e20a986c8d9678 100644 |
--- a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h |
+++ b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h |
@@ -12,6 +12,7 @@ |
namespace blink { |
class Credential; |
+class CredentialCreationOptions; |
class CredentialRequestOptions; |
class ScriptPromise; |
class ScriptState; |
@@ -24,9 +25,10 @@ class MODULES_EXPORT CredentialsContainer final |
public: |
static CredentialsContainer* Create(); |
- // CredentialsContainer.h |
+ // CredentialsContainer.idl |
ScriptPromise get(ScriptState*, const CredentialRequestOptions&); |
ScriptPromise store(ScriptState*, Credential* = 0); |
+ ScriptPromise create(ScriptState*, const CredentialCreationOptions&); |
ScriptPromise requireUserMediation(ScriptState*); |
DEFINE_INLINE_VIRTUAL_TRACE() {} |