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/AuthenticatorAttestationResponse.h" |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 AuthenticatorAttestationResponse* AuthenticatorAttestationResponse::Create( |
| 10 DOMArrayBuffer* client_data_json, |
| 11 DOMArrayBuffer* attestation_object) { |
| 12 return new AuthenticatorAttestationResponse(client_data_json, |
| 13 attestation_object); |
| 14 } |
| 15 |
| 16 AuthenticatorAttestationResponse::AuthenticatorAttestationResponse( |
| 17 DOMArrayBuffer* client_data_json, |
| 18 DOMArrayBuffer* attestation_object) |
| 19 : AuthenticatorResponse(client_data_json), |
| 20 attestation_object_(attestation_object) {} |
| 21 |
| 22 AuthenticatorAttestationResponse::~AuthenticatorAttestationResponse() {} |
| 23 |
| 24 DEFINE_TRACE(AuthenticatorAttestationResponse) { |
| 25 visitor->Trace(attestation_object_); |
| 26 AuthenticatorResponse::Trace(visitor); |
| 27 } |
| 28 |
| 29 } // namespace blink |
OLD | NEW |