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

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

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

Powered by Google App Engine
This is Rietveld 408576698