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 CRYPTO_MOCK_KEYCHAIN_MAC_H_ | 5 #ifndef CRYPTO_MOCK_APPLE_KEYCHAIN_H_ |
6 #define CRYPTO_MOCK_KEYCHAIN_MAC_H_ | 6 #define CRYPTO_MOCK_APPLE_KEYCHAIN_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 // Tracks the allocations and frees of password data in |FindGenericPassword| | 247 // Tracks the allocations and frees of password data in |FindGenericPassword| |
248 // and |ItemFreeContent|. | 248 // and |ItemFreeContent|. |
249 mutable int password_data_count_; | 249 mutable int password_data_count_; |
250 | 250 |
251 // Records the password being set when |AddGenericPassword()| gets called. | 251 // Records the password being set when |AddGenericPassword()| gets called. |
252 mutable std::string add_generic_password_; | 252 mutable std::string add_generic_password_; |
253 }; | 253 }; |
254 | 254 |
255 } // namespace crypto | 255 } // namespace crypto |
256 | 256 |
257 #endif // CRYPTO_MOCK_KEYCHAIN_MAC_H_ | 257 #endif // CRYPTO_MOCK_APPLE_KEYCHAIN_H_ |
OLD | NEW |