Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / credentialmanager / PlatformPasswordCredential.h
blob4ba685c1ed8525644aea882acd0a48d661f330be
1 // Copyright 2014 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.
5 #ifndef PlatformPasswordCredential_h
6 #define PlatformPasswordCredential_h
8 #include "platform/credentialmanager/PlatformCredential.h"
9 #include "platform/heap/Handle.h"
10 #include "wtf/text/WTFString.h"
12 namespace blink {
14 class PLATFORM_EXPORT PlatformPasswordCredential final : public PlatformCredential {
15 WTF_MAKE_NONCOPYABLE(PlatformPasswordCredential);
16 public:
17 static PlatformPasswordCredential* create(const String& id, const String& password, const String& name, const KURL& iconURL);
18 ~PlatformPasswordCredential() override;
20 const String& password() const { return m_password; }
22 bool isPassword() override { return true; }
24 private:
25 PlatformPasswordCredential(const String& id, const String& password, const String& name, const KURL& iconURL);
27 String m_password;
30 } // namespace blink
32 #endif // PlatformPasswordCredential_h