| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CredentialsContainer_h | 5 #ifndef CredentialsContainer_h |
| 6 #define CredentialsContainer_h | 6 #define CredentialsContainer_h |
| 7 | 7 |
| 8 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
| 9 #include "platform/bindings/ScriptWrappable.h" | 9 #include "platform/bindings/ScriptWrappable.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 public: | 26 public: |
| 27 static CredentialsContainer* Create(); | 27 static CredentialsContainer* Create(); |
| 28 | 28 |
| 29 // CredentialsContainer.idl | 29 // CredentialsContainer.idl |
| 30 ScriptPromise get(ScriptState*, const CredentialRequestOptions&); | 30 ScriptPromise get(ScriptState*, const CredentialRequestOptions&); |
| 31 ScriptPromise store(ScriptState*, Credential* = 0); | 31 ScriptPromise store(ScriptState*, Credential* = 0); |
| 32 ScriptPromise create(ScriptState*, | 32 ScriptPromise create(ScriptState*, |
| 33 const CredentialCreationOptions&, | 33 const CredentialCreationOptions&, |
| 34 ExceptionState&); | 34 ExceptionState&); |
| 35 ScriptPromise preventSilentAccess(ScriptState*); |
| 35 ScriptPromise requireUserMediation(ScriptState*); | 36 ScriptPromise requireUserMediation(ScriptState*); |
| 36 | 37 |
| 37 DEFINE_INLINE_VIRTUAL_TRACE() {} | 38 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 38 | 39 |
| 39 private: | 40 private: |
| 40 CredentialsContainer(); | 41 CredentialsContainer(); |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 } // namespace blink | 44 } // namespace blink |
| 44 | 45 |
| 45 #endif // CredentialsContainer_h | 46 #endif // CredentialsContainer_h |
| OLD | NEW |