Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / credentialmanager / PlatformFederatedCredential.cpp
blob16e0fe817ff10165e61936a8523e2d4df5e786d9
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 #include "config.h"
6 #include "platform/credentialmanager/PlatformFederatedCredential.h"
8 namespace blink {
10 PlatformFederatedCredential* PlatformFederatedCredential::create(const String& id, const KURL& provider, const String& name, const KURL& iconURL)
12 return new PlatformFederatedCredential(id, provider, name, iconURL);
15 PlatformFederatedCredential::PlatformFederatedCredential(const String& id, const KURL& provider, const String& name, const KURL& iconURL)
16 : PlatformCredential(id, name, iconURL)
17 , m_provider(provider)
19 setType("federated");
22 PlatformFederatedCredential::~PlatformFederatedCredential()
26 } // namespace blink