blob: 72411f210e7f8203cfe3cdb56465c64339879ade [file] [log] [blame] [edit]
// Copyright 2013 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CRYPTOHOME_MOCK_PKCS11_INIT_H_
#define CRYPTOHOME_MOCK_PKCS11_INIT_H_
#include <gmock/gmock.h>
#include "cryptohome/pkcs11_init.h"
namespace cryptohome {
class MockPkcs11Init : public Pkcs11Init {
public:
MockPkcs11Init();
virtual ~MockPkcs11Init();
MOCK_METHOD(bool,
GetTpmTokenSlotForPath,
(const base::FilePath&, CK_SLOT_ID_PTR),
(override));
};
} // namespace cryptohome
#endif // CRYPTOHOME_MOCK_PKCS11_INIT_H_