Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.cpp

Issue 2966523002: Blink-layer update to match WebAuthN spec (Closed)
Patch Set: Add ContectLifecycleObserver... part2 Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698