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

Side by Side Diff: crypto/mock_keychain_mac.h

Issue 10800038: Declare password_data_count_ as int to match the return type of its (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CRYPTO_MOCK_KEYCHAIN_MAC_H_ 5 #ifndef CRYPTO_MOCK_KEYCHAIN_MAC_H_
6 #define CRYPTO_MOCK_KEYCHAIN_MAC_H_ 6 #define CRYPTO_MOCK_KEYCHAIN_MAC_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 mutable std::set<unsigned int> added_via_api_; 207 mutable std::set<unsigned int> added_via_api_;
208 208
209 // Result code for the |FindGenericPassword()| method. 209 // Result code for the |FindGenericPassword()| method.
210 OSStatus find_generic_result_; 210 OSStatus find_generic_result_;
211 211
212 // Records whether |AddGenericPassword()| gets called. 212 // Records whether |AddGenericPassword()| gets called.
213 mutable bool called_add_generic_; 213 mutable bool called_add_generic_;
214 214
215 // Tracks the allocations and frees of password data in |FindGenericPassword| 215 // Tracks the allocations and frees of password data in |FindGenericPassword|
216 // and |ItemFreeContent|. 216 // and |ItemFreeContent|.
217 mutable unsigned int password_data_count_; 217 mutable int password_data_count_;
wtc 2012/07/19 17:57:42 The MockKeychain class doesn't use password_data_c
218 218
219 // Records the password being set when |AddGenericPassword()| gets called. 219 // Records the password being set when |AddGenericPassword()| gets called.
220 mutable std::string add_generic_password_; 220 mutable std::string add_generic_password_;
221 }; 221 };
222 222
223 } // namespace crypto 223 } // namespace crypto
224 224
225 #endif // CRYPTO_MOCK_KEYCHAIN_MAC_H_ 225 #endif // CRYPTO_MOCK_KEYCHAIN_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698