mock_apple_keychain_mac.cc 588 B

1234567891011121314151617181920212223
  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
  3. // found in the LICENSE file.
  4. #include <stddef.h>
  5. #include "base/time/time.h"
  6. #include "crypto/mock_apple_keychain.h"
  7. namespace crypto {
  8. MockAppleKeychain::MockAppleKeychain()
  9. : find_generic_result_(noErr),
  10. called_add_generic_(false),
  11. password_data_count_(0) {}
  12. MockAppleKeychain::~MockAppleKeychain() {}
  13. OSStatus MockAppleKeychain::ItemDelete(AppleSecKeychainItemRef itemRef) const {
  14. return noErr;
  15. }
  16. } // namespace crypto