1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
8 #include "device/core/device_client.h"
10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
13 // Implementation of device::DeviceClient that returns //device service
14 // singletons appropriate for use within the Chrome application.
15 class ChromeDeviceClient
: device::DeviceClient
{
18 ~ChromeDeviceClient() override
;
20 // device::DeviceClient implementation
21 device::UsbService
* GetUsbService() override
;
22 void ConnectToUSBDeviceManager(
23 mojo::InterfaceRequest
<device::usb::DeviceManager
> request
) override
;
24 device::HidService
* GetHidService() override
;
27 DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient
);
30 #endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_