| Index: Source/platform/credentialmanager/PlatformPasswordCredential.cpp
|
| diff --git a/Source/platform/credentialmanager/PlatformPasswordCredential.cpp b/Source/platform/credentialmanager/PlatformPasswordCredential.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3c7a2fe6a0495192733b09b9df83262a02577f59
|
| --- /dev/null
|
| +++ b/Source/platform/credentialmanager/PlatformPasswordCredential.cpp
|
| @@ -0,0 +1,27 @@
|
| +// 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.
|
| +
|
| +#include "config.h"
|
| +#include "platform/credentialmanager/PlatformPasswordCredential.h"
|
| +
|
| +namespace blink {
|
| +
|
| +PlatformPasswordCredential* PlatformPasswordCredential::create(const String& id, const String& password, const String& name, const KURL& avatarURL)
|
| +{
|
| + return new PlatformPasswordCredential(id, password, name, avatarURL);
|
| +}
|
| +
|
| +PlatformPasswordCredential::PlatformPasswordCredential(const String& id, const String& password, const String& name, const KURL& avatarURL)
|
| + : PlatformCredential(id, name, avatarURL)
|
| + , m_password(password)
|
| +{
|
| + setType("password");
|
| +}
|
| +
|
| +PlatformPasswordCredential::~PlatformPasswordCredential()
|
| +{
|
| +}
|
| +
|
| +} // namespace blink
|
| +
|
|
|