| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ScopedCredential_h | 5 #ifndef ScopedCredential_h |
| 6 #define ScopedCredential_h | 6 #define ScopedCredential_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "core/dom/DOMArrayBuffer.h" | 8 #include "core/dom/DOMArrayBuffer.h" |
| 9 #include "platform/bindings/ScriptWrappable.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class ScopedCredentialType; | 13 class ScopedCredentialType; |
| 14 | 14 |
| 15 class ScopedCredential final | 15 class ScopedCredential final |
| 16 : public GarbageCollectedFinalized<ScopedCredential>, | 16 : public GarbageCollectedFinalized<ScopedCredential>, |
| 17 public ScriptWrappable { | 17 public ScriptWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 | 19 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 DEFINE_INLINE_TRACE() { visitor->Trace(id_); } | 45 DEFINE_INLINE_TRACE() { visitor->Trace(id_); } |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 const ScopedCredentialType type_; | 48 const ScopedCredentialType type_; |
| 49 const Member<DOMArrayBuffer> id_; | 49 const Member<DOMArrayBuffer> id_; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace blink | 52 } // namespace blink |
| 53 | 53 |
| 54 #endif // ScopedCredential_h | 54 #endif // ScopedCredential_h |
| OLD | NEW |