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..07e2f41ebf7fd0a166e2eda2da04fc6e73bea231 100644 |
--- a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h |
+++ b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h |
@@ -12,7 +12,9 @@ |
namespace blink { |
class Credential; |
+class CredentialCreationOptions; |
class CredentialRequestOptions; |
+class ExceptionState; |
class ScriptPromise; |
class ScriptState; |
@@ -24,9 +26,12 @@ 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&, |
+ ExceptionState&); |
ScriptPromise requireUserMediation(ScriptState*); |
DEFINE_INLINE_VIRTUAL_TRACE() {} |