| // Copyright 2018 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef OOBE_CONFIG_MOCK_LOAD_OOBE_CONFIG_USB_H_ |
| #define OOBE_CONFIG_MOCK_LOAD_OOBE_CONFIG_USB_H_ |
| |
| #include "oobe_config/load_oobe_config_usb.h" |
| |
| #include <string> |
| |
| #include <gmock/gmock.h> |
| |
| namespace oobe_config { |
| |
| class MockLoadOobeConfigUsb : public LoadOobeConfigUsb { |
| public: |
| MockLoadOobeConfigUsb(const base::FilePath& stateful_dir, |
| const base::FilePath& device_ids_dir, |
| const base::FilePath& store_dir) |
| : LoadOobeConfigUsb(stateful_dir, device_ids_dir, store_dir) {} |
| |
| MOCK_METHOD(bool, VerifyPublicKey, (), (override)); |
| MOCK_METHOD(bool, |
| MountUsbDevice, |
| (const base::FilePath&, const base::FilePath&), |
| (override)); |
| MOCK_METHOD(bool, UnmountUsbDevice, (const base::FilePath&), (override)); |
| }; |
| |
| } // namespace oobe_config |
| |
| #endif // OOBE_CONFIG_MOCK_LOAD_OOBE_CONFIG_USB_H_ |