Index: third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.cpp |
diff --git a/third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.cpp b/third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..541f0a26d7a5cc1323befa3bffde1902288cb2e0 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.cpp |
@@ -0,0 +1,33 @@ |
+// 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/AuthenticatorAssertionResponse.h" |
+ |
+namespace blink { |
+ |
+AuthenticatorAssertionResponse* AuthenticatorAssertionResponse::Create( |
+ DOMArrayBuffer* client_data_json, |
+ DOMArrayBuffer* authenticator_data, |
+ DOMArrayBuffer* signature) { |
+ return new AuthenticatorAssertionResponse(client_data_json, |
+ authenticator_data, signature); |
+} |
+ |
+AuthenticatorAssertionResponse::AuthenticatorAssertionResponse( |
+ DOMArrayBuffer* client_data_json, |
+ DOMArrayBuffer* authenticator_data, |
+ DOMArrayBuffer* signature) |
+ : AuthenticatorResponse(client_data_json), |
+ authenticator_data_(authenticator_data), |
+ signature_(signature) {} |
+ |
+AuthenticatorAssertionResponse::~AuthenticatorAssertionResponse() {} |
+ |
+DEFINE_TRACE(AuthenticatorAssertionResponse) { |
+ visitor->Trace(authenticator_data_); |
+ visitor->Trace(signature_); |
+ AuthenticatorResponse::Trace(visitor); |
+} |
+ |
+} // namespace blink |