mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
26 lines
634 B
C++
26 lines
634 B
C++
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#include "base/logging.h"
|
||
|
#include "base/macros.h"
|
||
|
#include "base/time/time.h"
|
||
|
#include "crypto/mock_apple_keychain.h"
|
||
|
|
||
|
namespace crypto {
|
||
|
|
||
|
MockAppleKeychain::MockAppleKeychain()
|
||
|
: find_generic_result_(noErr),
|
||
|
called_add_generic_(false),
|
||
|
password_data_count_(0) {}
|
||
|
|
||
|
MockAppleKeychain::~MockAppleKeychain() {}
|
||
|
|
||
|
OSStatus MockAppleKeychain::ItemDelete(SecKeychainItemRef itemRef) const {
|
||
|
return noErr;
|
||
|
}
|
||
|
|
||
|
} // namespace crypto
|