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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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/macros.h"
13 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
14 #include "components/autofill/core/common/password_form.h" 15 #include "components/autofill/core/common/password_form.h"
15 #include "crypto/apple_keychain.h" 16 #include "crypto/apple_keychain.h"
16 17
17 using crypto::AppleKeychain; 18 using crypto::AppleKeychain;
18 19
19 // Adapter that wraps a AppleKeychain and provides interaction in terms of 20 // Adapter that wraps a AppleKeychain and provides interaction in terms of
20 // PasswordForms instead of Keychain items. 21 // PasswordForms instead of Keychain items.
21 class MacKeychainPasswordFormAdapter { 22 class MacKeychainPasswordFormAdapter {
22 public: 23 public:
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Returns PasswordForm instances populated with password data for each keychain 213 // Returns PasswordForm instances populated with password data for each keychain
213 // entry in |item_form_pairs| that could be merged with |query_form|. 214 // entry in |item_form_pairs| that could be merged with |query_form|.
214 ScopedVector<autofill::PasswordForm> ExtractPasswordsMergeableWithForm( 215 ScopedVector<autofill::PasswordForm> ExtractPasswordsMergeableWithForm(
215 const AppleKeychain& keychain, 216 const AppleKeychain& keychain,
216 const std::vector<ItemFormPair>& item_form_pairs, 217 const std::vector<ItemFormPair>& item_form_pairs,
217 const autofill::PasswordForm& query_form); 218 const autofill::PasswordForm& query_form);
218 219
219 } // namespace internal_keychain_helpers 220 } // namespace internal_keychain_helpers
220 221
221 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ 222 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_mac.cc ('k') | chrome/browser/password_manager/password_store_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698