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

Side by Side Diff: third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.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 AuthenticatorResponse_h
6 #define AuthenticatorResponse_h
7
8 #include "core/dom/DOMArrayBuffer.h"
9 #include "modules/ModulesExport.h"
10 #include "platform/bindings/ScriptWrappable.h"
11 #include "platform/heap/Handle.h"
12
13 namespace blink {
14
15 class MODULES_EXPORT AuthenticatorResponse
16 : public GarbageCollectedFinalized<AuthenticatorResponse>,
17 public ScriptWrappable {
18 DEFINE_WRAPPERTYPEINFO();
19
20 public:
21 static AuthenticatorResponse* Create(DOMArrayBuffer* client_data_json);
22
23 virtual ~AuthenticatorResponse();
24
25 DOMArrayBuffer* clientDataJSON() const { return client_data_json_.Get(); }
26
27 DECLARE_VIRTUAL_TRACE();
28
29 protected:
30 explicit AuthenticatorResponse(DOMArrayBuffer* client_data_json);
31
32 private:
33 const Member<DOMArrayBuffer> client_data_json_;
34 };
35
36 } // namespace blink
37
38 #endif // AuthenticatorResponse_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698