OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <Security/Security.h> | 8 #include <Security/Security.h> |
10 | 9 |
11 #include <string> | 10 #include <string> |
12 #include <vector> | 11 #include <vector> |
13 | 12 |
14 #include "base/time.h" | 13 #include "base/time.h" |
15 #include "crypto/keychain_mac.h" | 14 #include "crypto/keychain_mac.h" |
16 | 15 |
17 using crypto::MacKeychain; | 16 using crypto::MacKeychain; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // Fills in the passwords for as many of the forms in |database_forms| as | 166 // Fills in the passwords for as many of the forms in |database_forms| as |
168 // possible using entries from |keychain| and returns them. On return, | 167 // possible using entries from |keychain| and returns them. On return, |
169 // |database_forms| will contain only the forms for which no password was found. | 168 // |database_forms| will contain only the forms for which no password was found. |
170 std::vector<webkit::forms::PasswordForm*> GetPasswordsForForms( | 169 std::vector<webkit::forms::PasswordForm*> GetPasswordsForForms( |
171 const MacKeychain& keychain, | 170 const MacKeychain& keychain, |
172 std::vector<webkit::forms::PasswordForm*>* database_forms); | 171 std::vector<webkit::forms::PasswordForm*>* database_forms); |
173 | 172 |
174 } // internal_keychain_helpers | 173 } // internal_keychain_helpers |
175 | 174 |
176 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ | 175 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ |
OLD | NEW |