Index: chrome/browser/chrome_device_client.h |
diff --git a/chrome/browser/chrome_device_client.h b/chrome/browser/chrome_device_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01f8ae6acbd4a0ccc435aafc1d88a6a838a6b931 |
--- /dev/null |
+++ b/chrome/browser/chrome_device_client.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_ |
+#define CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_ |
+ |
+#include "device/common/device_client.h" |
+ |
+#include "base/compiler_specific.h" |
+ |
+// Implementation of device::DeviceClient that returns //device API service |
+// singletons appropriate for use within the Chrome application. |
+class ChromeDeviceClient : device::DeviceClient { |
+ public: |
+ ChromeDeviceClient(); |
+ virtual ~ChromeDeviceClient(); |
+ |
+ virtual usb_service::UsbService* GetUsbService() OVERRIDE; |
Lei Zhang
2014/08/28 18:44:57
nit: Add a comment to say // device::DEviceClient
|
+}; |
Lei Zhang
2014/08/28 18:44:57
nit: DISALLOW_COPY_AND_ASSIGN
|
+ |
+#endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_ |