OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SiteBoundCredential_h |
| 6 #define SiteBoundCredential_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/credentialmanager/Credential.h" |
| 11 #include "platform/heap/Handle.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class MODULES_EXPORT SiteBoundCredential : public Credential { |
| 16 DEFINE_WRAPPERTYPEINFO(); |
| 17 public: |
| 18 // SiteBoundCredential.idl |
| 19 const String& name() const { return m_platformCredential->name(); } |
| 20 const KURL& iconURL() const { return m_platformCredential->iconURL(); } |
| 21 |
| 22 protected: |
| 23 SiteBoundCredential(PlatformCredential*); |
| 24 }; |
| 25 |
| 26 } // namespace blink |
| 27 |
| 28 #endif // SiteBoundCredential_h |
OLD | NEW |