Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: chrome/browser/password_manager/password_store_mac_internal.h

Issue 11087021: Cleanup: IWYU for base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7
8 #include <Security/Security.h> 8 #include <Security/Security.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/time.h"
14 #include "crypto/apple_keychain.h" 13 #include "crypto/apple_keychain.h"
15 14
16 using crypto::AppleKeychain; 15 using crypto::AppleKeychain;
17 16
18 // Adapter that wraps a AppleKeychain and provides interaction in terms of 17 // Adapter that wraps a AppleKeychain and provides interaction in terms of
19 // PasswordForms instead of Keychain items. 18 // PasswordForms instead of Keychain items.
20 class MacKeychainPasswordFormAdapter { 19 class MacKeychainPasswordFormAdapter {
21 public: 20 public:
22 // Creates an adapter for |keychain|. This class does not take ownership of 21 // Creates an adapter for |keychain|. This class does not take ownership of
23 // |keychain|, so the caller must make sure that the keychain outlives the 22 // |keychain|, so the caller must make sure that the keychain outlives the
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 std::vector<content::PasswordForm*>* database_forms, 162 std::vector<content::PasswordForm*>* database_forms,
164 std::vector<content::PasswordForm*>* merged_forms); 163 std::vector<content::PasswordForm*>* merged_forms);
165 164
166 // Fills in the passwords for as many of the forms in |database_forms| as 165 // Fills in the passwords for as many of the forms in |database_forms| as
167 // possible using entries from |keychain| and returns them. On return, 166 // possible using entries from |keychain| and returns them. On return,
168 // |database_forms| will contain only the forms for which no password was found. 167 // |database_forms| will contain only the forms for which no password was found.
169 std::vector<content::PasswordForm*> GetPasswordsForForms( 168 std::vector<content::PasswordForm*> GetPasswordsForForms(
170 const AppleKeychain& keychain, 169 const AppleKeychain& keychain,
171 std::vector<content::PasswordForm*>* database_forms); 170 std::vector<content::PasswordForm*>* database_forms);
172 171
173 } // internal_keychain_helpers 172 } // namespace internal_keychain_helpers
174 173
175 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ 174 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/crl_set_fetcher.h ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698