Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / password_manager / content / common / credential_manager_content_utils.h
blob77315f72d83073515e28dfed0b8e98dc9ba641b6
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"
10 namespace blink {
11 class WebCredential;
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_