OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "device/core/mock_device_client.h" | 5 #include "device/base/mock_device_client.h" |
6 | 6 |
7 #include "device/hid/mock_hid_service.h" | 7 #include "device/hid/mock_hid_service.h" |
8 #include "device/usb/mock_usb_service.h" | 8 #include "device/usb/mock_usb_service.h" |
9 | 9 |
10 namespace device { | 10 namespace device { |
11 | 11 |
12 MockDeviceClient::MockDeviceClient() {} | 12 MockDeviceClient::MockDeviceClient() {} |
13 | 13 |
14 MockDeviceClient::~MockDeviceClient() {} | 14 MockDeviceClient::~MockDeviceClient() {} |
15 | 15 |
(...skipping 11 matching lines...) Expand all Loading... |
27 return hid_service_.get(); | 27 return hid_service_.get(); |
28 } | 28 } |
29 | 29 |
30 MockUsbService* MockDeviceClient::usb_service() { | 30 MockUsbService* MockDeviceClient::usb_service() { |
31 if (!usb_service_) | 31 if (!usb_service_) |
32 usb_service_.reset(new MockUsbService()); | 32 usb_service_.reset(new MockUsbService()); |
33 return usb_service_.get(); | 33 return usb_service_.get(); |
34 } | 34 } |
35 | 35 |
36 } // namespace device | 36 } // namespace device |
OLD | NEW |