| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 12 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 14 | 15 |
| 15 namespace autofill { | 16 namespace autofill { |
| 16 struct PasswordForm; | 17 struct PasswordForm; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace password_manager { | 20 namespace password_manager { |
| 20 | 21 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 61 |
| 61 // Create a new autofill::PasswordForm object based on |info|, valid in the | 62 // Create a new autofill::PasswordForm object based on |info|, valid in the |
| 62 // context of |origin|. Returns an empty scoped_ptr for CREDENTIAL_TYPE_EMPTY. | 63 // context of |origin|. Returns an empty scoped_ptr for CREDENTIAL_TYPE_EMPTY. |
| 63 scoped_ptr<autofill::PasswordForm> CreatePasswordFormFromCredentialInfo( | 64 scoped_ptr<autofill::PasswordForm> CreatePasswordFormFromCredentialInfo( |
| 64 const CredentialInfo& info, | 65 const CredentialInfo& info, |
| 65 const GURL& origin); | 66 const GURL& origin); |
| 66 | 67 |
| 67 } // namespace password_manager | 68 } // namespace password_manager |
| 68 | 69 |
| 69 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_ | 70 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_ |
| OLD | NEW |