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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h

Issue 2884703002: Implement CredentialsContainer::create (Closed)
Patch Set: Nits 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/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() {}

Powered by Google App Engine
This is Rietveld 408576698