• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include <stddef.h>
6 
7 #include "base/time/time.h"
8 #include "crypto/mock_apple_keychain.h"
9 
10 namespace crypto {
11 
MockAppleKeychain()12 MockAppleKeychain::MockAppleKeychain()
13     : find_generic_result_(noErr),
14       called_add_generic_(false),
15       password_data_count_(0) {}
16 
~MockAppleKeychain()17 MockAppleKeychain::~MockAppleKeychain() {}
18 
ItemDelete(AppleSecKeychainItemRef itemRef) const19 OSStatus MockAppleKeychain::ItemDelete(AppleSecKeychainItemRef itemRef) const {
20   return noErr;
21 }
22 
23 }  // namespace crypto
24