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 PasswordCredential_h | 5 #ifndef PasswordCredential_h |
6 #define PasswordCredential_h | 6 #define PasswordCredential_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "bindings/core/v8/SerializedScriptValue.h" | 9 #include "bindings/core/v8/SerializedScriptValue.h" |
10 #include "bindings/modules/v8/FormDataOrURLSearchParams.h" | 10 #include "bindings/modules/v8/FormDataOrURLSearchParams.h" |
11 #include "modules/ModulesExport.h" | 11 #include "modules/ModulesExport.h" |
12 #include "modules/credentialmanager/SiteBoundCredential.h" | 12 #include "modules/credentialmanager/SiteBoundCredential.h" |
13 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
14 #include "platform/network/EncodedFormData.h" | 14 #include "platform/network/EncodedFormData.h" |
15 #include "platform/weborigin/KURL.h" | 15 #include "platform/weborigin/KURL.h" |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class FormData; | 19 class FormData; |
20 class FormDataOptions; | |
21 class HTMLFormElement; | 20 class HTMLFormElement; |
22 class PasswordCredentialData; | 21 class PasswordCredentialData; |
23 class WebPasswordCredential; | 22 class WebPasswordCredential; |
24 | 23 |
25 using CredentialPostBodyType = FormDataOrURLSearchParams; | 24 using CredentialPostBodyType = FormDataOrURLSearchParams; |
26 | 25 |
27 class MODULES_EXPORT PasswordCredential final : public SiteBoundCredential { | 26 class MODULES_EXPORT PasswordCredential final : public SiteBoundCredential { |
28 DEFINE_WRAPPERTYPEINFO(); | 27 DEFINE_WRAPPERTYPEINFO(); |
29 | 28 |
30 public: | 29 public: |
(...skipping 29 matching lines...) Expand all Loading... |
60 const KURL& icon); | 59 const KURL& icon); |
61 | 60 |
62 String m_idName; | 61 String m_idName; |
63 String m_passwordName; | 62 String m_passwordName; |
64 CredentialPostBodyType m_additionalData; | 63 CredentialPostBodyType m_additionalData; |
65 }; | 64 }; |
66 | 65 |
67 } // namespace blink | 66 } // namespace blink |
68 | 67 |
69 #endif // PasswordCredential_h | 68 #endif // PasswordCredential_h |
OLD | NEW |