| Index: third_party/WebKit/Source/modules/webauth/PublicKeyCredential.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webauth/PublicKeyCredential.cpp b/third_party/WebKit/Source/modules/webauth/PublicKeyCredential.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..36a12c58832b27f9f050310d0080cfddabd82981
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/webauth/PublicKeyCredential.cpp
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "modules/webauth/PublicKeyCredential.h"
|
| +
|
| +namespace blink {
|
| +
|
| +PublicKeyCredential* PublicKeyCredential::Create(
|
| + DOMArrayBuffer* raw_id,
|
| + AuthenticatorResponse* response) {
|
| + return new PublicKeyCredential(raw_id, response);
|
| +}
|
| +
|
| +PublicKeyCredential::PublicKeyCredential(DOMArrayBuffer* raw_id,
|
| + AuthenticatorResponse* response)
|
| + : raw_id_(raw_id), response_(response) {}
|
| +
|
| +DEFINE_TRACE(PublicKeyCredential) {
|
| + visitor->Trace(raw_id_);
|
| + visitor->Trace(response_);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|