Upload upstream chromium 85.0.4183.84
[platform/framework/web/chromium-efl.git] / crypto / mock_apple_keychain_mac.cc
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
5 #include <stddef.h>
6
7 #include "base/macros.h"
8 #include "base/time/time.h"
9 #include "crypto/mock_apple_keychain.h"
10
11 namespace crypto {
12
13 MockAppleKeychain::MockAppleKeychain()
14     : find_generic_result_(noErr),
15       called_add_generic_(false),
16       password_data_count_(0) {}
17
18 MockAppleKeychain::~MockAppleKeychain() {}
19
20 OSStatus MockAppleKeychain::ItemDelete(AppleSecKeychainItemRef itemRef) const {
21   return noErr;
22 }
23
24 }  // namespace crypto