1 // Copyright 2015 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 COMPONENTS_PASSWORD_MANAGER_CONTENT_COMMON_CREDENTIAL_MANAGER_CONTENT_UTILS_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_COMMON_CREDENTIAL_MANAGER_CONTENT_UTILS_H_
8 #include "components/password_manager/core/common/credential_manager_types.h"
14 namespace password_manager
{
16 // Returns a CredentialInfo struct populated from |credential|.
17 CredentialInfo
WebCredentialToCredentialInfo(
18 const blink::WebCredential
& credential
);
20 } // namespace password_manager
22 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_COMMON_CREDENTIAL_MANAGER_CONTENT_UTILS_H_