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

Side by Side Diff: third_party/WebKit/Source/modules/webauth/PublicKeyCredential.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/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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698