OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "modules/webauth/AuthenticatorAssertionResponse.h" |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 AuthenticatorAssertionResponse* AuthenticatorAssertionResponse::Create( |
| 10 DOMArrayBuffer* client_data_json, |
| 11 DOMArrayBuffer* authenticator_data, |
| 12 DOMArrayBuffer* signature) { |
| 13 return new AuthenticatorAssertionResponse(client_data_json, |
| 14 authenticator_data, signature); |
| 15 } |
| 16 |
| 17 AuthenticatorAssertionResponse::AuthenticatorAssertionResponse( |
| 18 DOMArrayBuffer* client_data_json, |
| 19 DOMArrayBuffer* authenticator_data, |
| 20 DOMArrayBuffer* signature) |
| 21 : AuthenticatorResponse(client_data_json), |
| 22 authenticator_data_(authenticator_data), |
| 23 signature_(signature) {} |
| 24 |
| 25 AuthenticatorAssertionResponse::~AuthenticatorAssertionResponse() {} |
| 26 |
| 27 DEFINE_TRACE(AuthenticatorAssertionResponse) { |
| 28 visitor->Trace(authenticator_data_); |
| 29 visitor->Trace(signature_); |
| 30 AuthenticatorResponse::Trace(visitor); |
| 31 } |
| 32 |
| 33 } // namespace blink |
OLD | NEW |