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

Unified Diff: third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.h
diff --git a/third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.h b/third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.h
deleted file mode 100644
index 29dcb3940e830d147a51643d9dd586b551d8344c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 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.
-
-#ifndef ScopedCredentialInfo_h
-#define ScopedCredentialInfo_h
-
-#include "core/dom/DOMArrayBuffer.h"
-#include "platform/bindings/ScriptWrappable.h"
-
-namespace blink {
-
-class ScopedCredentialInfo final
- : public GarbageCollectedFinalized<ScopedCredentialInfo>,
- public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
-
- public:
- static ScopedCredentialInfo* Create(DOMArrayBuffer* client_data,
- DOMArrayBuffer* attestation) {
- return new ScopedCredentialInfo(client_data, attestation);
- }
-
- ScopedCredentialInfo(DOMArrayBuffer* client_data, DOMArrayBuffer* attestation)
- : client_data_(client_data), attestation_(attestation) {}
-
- virtual ~ScopedCredentialInfo() {}
-
- DOMArrayBuffer* clientData() const { return client_data_.Get(); }
- DOMArrayBuffer* attestation() const { return attestation_.Get(); }
-
- DEFINE_INLINE_TRACE() {
- visitor->Trace(client_data_);
- visitor->Trace(attestation_);
- }
-
- private:
- const Member<DOMArrayBuffer> client_data_;
- const Member<DOMArrayBuffer> attestation_;
-};
-
-} // namespace blink
-
-#endif // ScopedCredentialInfo_h

Powered by Google App Engine
This is Rietveld 408576698