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/PublicKeyCredential.h" |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 PublicKeyCredential* PublicKeyCredential::Create( |
| 10 DOMArrayBuffer* raw_id, |
| 11 AuthenticatorResponse* response) { |
| 12 return new PublicKeyCredential(raw_id, response); |
| 13 } |
| 14 |
| 15 PublicKeyCredential::PublicKeyCredential(DOMArrayBuffer* raw_id, |
| 16 AuthenticatorResponse* response) |
| 17 : raw_id_(raw_id), response_(response) {} |
| 18 |
| 19 DEFINE_TRACE(PublicKeyCredential) { |
| 20 visitor->Trace(raw_id_); |
| 21 visitor->Trace(response_); |
| 22 } |
| 23 |
| 24 } // namespace blink |
OLD | NEW |