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

Side by Side Diff: third_party/WebKit/Source/modules/webauth/AuthenticatorAttestationResponse.h

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 #ifndef AuthenticatorAttestationResponse_h
6 #define AuthenticatorAttestationResponse_h
7
8 #include "core/dom/DOMArrayBuffer.h"
9 #include "modules/ModulesExport.h"
10 #include "modules/webauth/AuthenticatorResponse.h"
11 #include "platform/bindings/ScriptWrappable.h"
12
13 namespace blink {
14
15 class MODULES_EXPORT AuthenticatorAttestationResponse final
16 : public AuthenticatorResponse {
17 DEFINE_WRAPPERTYPEINFO();
18
19 public:
20 static AuthenticatorAttestationResponse* Create(
21 DOMArrayBuffer* client_data_json,
22 DOMArrayBuffer* attestation_object);
23
24 virtual ~AuthenticatorAttestationResponse();
25
26 DOMArrayBuffer* attestationObject() const {
27 return attestation_object_.Get();
28 }
29
30 DECLARE_VIRTUAL_TRACE();
31
32 private:
33 explicit AuthenticatorAttestationResponse(DOMArrayBuffer* client_data_json,
34 DOMArrayBuffer* attestation_object);
35
36 const Member<DOMArrayBuffer> attestation_object_;
37 };
38
39 } // namespace blink
40
41 #endif // AuthenticatorAttestationResponse_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698