| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 AuthenticationAssertion_h | 5 #ifndef AuthenticationAssertion_h |
| 6 #define AuthenticationAssertion_h | 6 #define AuthenticationAssertion_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "core/dom/DOMArrayBuffer.h" | 8 #include "core/dom/DOMArrayBuffer.h" |
| 10 #include "modules/webauth/ScopedCredential.h" | 9 #include "modules/webauth/ScopedCredential.h" |
| 10 #include "platform/bindings/ScriptWrappable.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class AuthenticationAssertion final | 14 class AuthenticationAssertion final |
| 15 : public GarbageCollectedFinalized<AuthenticationAssertion>, | 15 : public GarbageCollectedFinalized<AuthenticationAssertion>, |
| 16 public ScriptWrappable { | 16 public ScriptWrappable { |
| 17 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 static AuthenticationAssertion* Create(ScopedCredential* credential, | 20 static AuthenticationAssertion* Create(ScopedCredential* credential, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 private: | 53 private: |
| 54 const Member<ScopedCredential> credential_; | 54 const Member<ScopedCredential> credential_; |
| 55 const Member<DOMArrayBuffer> client_data_; | 55 const Member<DOMArrayBuffer> client_data_; |
| 56 const Member<DOMArrayBuffer> authenticator_data_; | 56 const Member<DOMArrayBuffer> authenticator_data_; |
| 57 const Member<DOMArrayBuffer> signature_; | 57 const Member<DOMArrayBuffer> signature_; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace blink | 60 } // namespace blink |
| 61 | 61 |
| 62 #endif // AuthenticationAssertion_h | 62 #endif // AuthenticationAssertion_h |
| OLD | NEW |