| Index: Source/platform/credentialmanager/PlatformPasswordCredential.h
|
| diff --git a/Source/platform/credentialmanager/PlatformPasswordCredential.h b/Source/platform/credentialmanager/PlatformPasswordCredential.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2bab8e960f974037de3bc0134e357e2b8fc6b08f
|
| --- /dev/null
|
| +++ b/Source/platform/credentialmanager/PlatformPasswordCredential.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2014 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 PlatformPasswordCredential_h
|
| +#define PlatformPasswordCredential_h
|
| +
|
| +#include "platform/credentialmanager/PlatformCredential.h"
|
| +#include "platform/heap/Handle.h"
|
| +#include "wtf/text/WTFString.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class PLATFORM_EXPORT PlatformPasswordCredential final : public PlatformCredential {
|
| + WTF_MAKE_NONCOPYABLE(PlatformPasswordCredential);
|
| +public:
|
| + static PlatformPasswordCredential* create(const String& id, const String& password, const String& name, const KURL& avatarURL);
|
| + virtual ~PlatformPasswordCredential();
|
| +
|
| + const String& password() const { return m_password; }
|
| +
|
| + virtual bool isPassword() override { return true; }
|
| +
|
| +private:
|
| + PlatformPasswordCredential(const String& id, const String& password, const String& name, const KURL& avatarURL);
|
| +
|
| + String m_password;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // PlatformPasswordCredential_h
|
|
|