blob: 1b951ab73bfe521495cbe7b03ac31bf8e7aa52f7 [file] [log] [blame]
// 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 "platform/credentialmanager/PlatformFederatedCredential.h"
namespace blink {
PlatformFederatedCredential* PlatformFederatedCredential::create(
const String& id,
PassRefPtr<SecurityOrigin> provider,
const String& name,
const KURL& iconURL) {
return new PlatformFederatedCredential(id, std::move(provider), name,
iconURL);
}
PlatformFederatedCredential::PlatformFederatedCredential(
const String& id,
PassRefPtr<SecurityOrigin> provider,
const String& name,
const KURL& iconURL)
: PlatformCredential(id, name, iconURL), m_provider(provider) {
setType("federated");
}
PlatformFederatedCredential::~PlatformFederatedCredential() {}
} // namespace blink