Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / chrome_device_client.h
bloba121a695d9fecf34a65c63b1a298430fb293ee44
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"
12 #include "base/memory/scoped_ptr.h"
14 // Implementation of device::DeviceClient that returns //device service
15 // singletons appropriate for use within the Chrome application.
16 class ChromeDeviceClient : device::DeviceClient {
17 public:
18 ChromeDeviceClient();
19 ~ChromeDeviceClient() override;
21 // device::DeviceClient implementation
22 device::UsbService* GetUsbService() override;
23 device::HidService* GetHidService() override;
25 private:
26 scoped_ptr<device::HidService> hid_service_;
27 scoped_ptr<device::UsbService> usb_service_;
29 DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient);
32 #endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_