rsimha@chromium.org | 073f5c1 | 2012-01-03 19:25:57 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
stuartmorgan@chromium.org | 12eb8e7 | 2009-06-23 18:56:34 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
avi | dd373b8b | 2015-12-21 21:34:43 | [diff] [blame] | 5 | #include <stddef.h> |
| 6 | |
stuartmorgan@chromium.org | 12eb8e7 | 2009-06-23 18:56:34 | [diff] [blame] | 7 | #include "base/logging.h" |
avi | dd373b8b | 2015-12-21 21:34:43 | [diff] [blame] | 8 | #include "base/macros.h" |
avi@chromium.org | b43e556 | 2013-06-28 15:20:02 | [diff] [blame] | 9 | #include "base/time/time.h" |
msarda@chromium.org | 982f1ab | 2012-08-30 13:03:46 | [diff] [blame] | 10 | #include "crypto/mock_apple_keychain.h" |
akalin@chromium.org | b9d3d00 | 2012-03-17 12:14:50 | [diff] [blame] | 11 | |
| 12 | namespace crypto { |
stuartmorgan@chromium.org | 12eb8e7 | 2009-06-23 18:56:34 | [diff] [blame] | 13 | |
msarda@chromium.org | 982f1ab | 2012-08-30 13:03:46 | [diff] [blame] | 14 | MockAppleKeychain::MockAppleKeychain() |
vasilii | 5baf4fd | 2017-06-08 19:22:40 | [diff] [blame^] | 15 | : find_generic_result_(noErr), |
rsimha@chromium.org | c8452dd | 2011-12-27 23:04:55 | [diff] [blame] | 16 | called_add_generic_(false), |
| 17 | password_data_count_(0) {} |
| 18 | |
vasilii | 5baf4fd | 2017-06-08 19:22:40 | [diff] [blame^] | 19 | MockAppleKeychain::~MockAppleKeychain() {} |
stuartmorgan@chromium.org | 12eb8e7 | 2009-06-23 18:56:34 | [diff] [blame] | 20 | |
msarda@chromium.org | 982f1ab | 2012-08-30 13:03:46 | [diff] [blame] | 21 | OSStatus MockAppleKeychain::ItemDelete(SecKeychainItemRef itemRef) const { |
stuartmorgan@google.com | 0a21fde | 2009-07-13 23:44:08 | [diff] [blame] | 22 | return noErr; |
| 23 | } |
| 24 | |
mmaerean@adobe.com | d22db52b | 2012-07-30 22:11:11 | [diff] [blame] | 25 | } // namespace crypto |