12345678910111213141516171819202122232425 |
- // Copyright 2015 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.
- #ifndef SERVICES_DEVICE_USB_MOCK_USB_SERVICE_H_
- #define SERVICES_DEVICE_USB_MOCK_USB_SERVICE_H_
- #include "services/device/usb/usb_service.h"
- #include "testing/gmock/include/gmock/gmock.h"
- namespace device {
- class MockUsbService : public UsbService {
- public:
- MockUsbService();
- ~MockUsbService() override;
- void AddDevice(scoped_refptr<UsbDevice> device);
- void RemoveDevice(scoped_refptr<UsbDevice> device);
- };
- } // namespace device
- #endif // SERVICES_DEVICE_USB_MOCK_USB_SERVICE_H_
|