blob: 41c25872b5d990508cd3865b6d9bf5dc39aefea8 [file] [log] [blame]
reillyge471fab2014-08-29 01:58:431// 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.
4
5#ifndef CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
6#define CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
7
alexis.menard2fe63eaa2016-10-13 21:42:438#include "device/base/device_client.h"
reillyge471fab2014-08-29 01:58:439
dcheng4af48582016-04-19 00:29:3510#include <memory>
11
reillyge471fab2014-08-29 01:58:4312#include "base/macros.h"
Bernhard Bauer01699332017-09-21 17:10:2413#include "build/build_config.h"
reillyge471fab2014-08-29 01:58:4314
15// Implementation of device::DeviceClient that returns //device service
16// singletons appropriate for use within the Chrome application.
17class ChromeDeviceClient : device::DeviceClient {
18 public:
19 ChromeDeviceClient();
rockot8fcc2752015-05-28 02:07:5520 ~ChromeDeviceClient() override;
reillyge471fab2014-08-29 01:58:4321
22 // device::DeviceClient implementation
Daniel Chenga542fca2014-10-21 09:51:2923 device::UsbService* GetUsbService() override;
reillyge471fab2014-08-29 01:58:4324
25 private:
dcheng4af48582016-04-19 00:29:3526 std::unique_ptr<device::UsbService> usb_service_;
reillygbadbc5412015-08-28 23:08:1027
reillyge471fab2014-08-29 01:58:4328 DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient);
29};
30
31#endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_