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_DEVTOOLS_DEVICE_USB_USB_DEVICE_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_USB_USB_DEVICE_PROVIDER_H_
8 #include "chrome/browser/devtools/device/android_device_manager.h"
14 class UsbDeviceProvider : public AndroidDeviceManager::DeviceProvider {
16 typedef DeviceProvider::QueryDevicesCallback QueryDevicesCallback;
18 static void CountDevices(const base::Callback<void(int)>& callback);
20 explicit UsbDeviceProvider(Profile* profile);
22 virtual void QueryDevices(const QueryDevicesCallback& callback) OVERRIDE;
25 virtual ~UsbDeviceProvider();
27 scoped_ptr<crypto::RSAPrivateKey> rsa_key_;
30 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_USB_USB_DEVICE_PROVIDER_H_