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
3 // found in the LICENSE file.
5 #include "base/memory/ref_counted.h"
6 #include "base/memory/scoped_ptr.h"
7 #include "device/core/device_client.h"
10 class SingleThreadTaskRunner
;
18 class TestDeviceClient
: public DeviceClient
{
20 TestDeviceClient(scoped_refptr
<base::SingleThreadTaskRunner
> task_runner
);
21 ~TestDeviceClient() override
;
24 HidService
* GetHidService() override
;
25 UsbService
* GetUsbService() override
;
27 scoped_ptr
<HidService
> hid_service_
;
28 scoped_ptr
<UsbService
> usb_service_
;
29 scoped_refptr
<base::SingleThreadTaskRunner
> blocking_task_runner_
;