| 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 | |
| 18 public: | |
| 19 // SiteBoundCredential.idl | |
| 20 const String& name() const { return platform_credential_->GetName(); } | |
| 21 const KURL& iconURL() const { return platform_credential_->GetIconURL(); } | |
| 22 | |
| 23 protected: | |
| 24 SiteBoundCredential(PlatformCredential*); | |
| 25 }; | |
| 26 | |
| 27 } // namespace blink | |
| 28 | |
| 29 #endif // SiteBoundCredential_h | |
| OLD | NEW |