Home | History | Annotate | Download | only in browser
      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.
      4 
      5 #ifndef CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
      6 #define CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
      7 
      8 #include "device/core/device_client.h"
      9 
     10 #include "base/compiler_specific.h"
     11 #include "base/macros.h"
     12 
     13 // Implementation of device::DeviceClient that returns //device service
     14 // singletons appropriate for use within the Chrome application.
     15 class ChromeDeviceClient : device::DeviceClient {
     16  public:
     17   ChromeDeviceClient();
     18   virtual ~ChromeDeviceClient();
     19 
     20   // device::DeviceClient implementation
     21   virtual device::UsbService* GetUsbService() OVERRIDE;
     22   virtual device::HidService* GetHidService() OVERRIDE;
     23 
     24  private:
     25   DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient);
     26 };
     27 
     28 #endif  // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
     29