Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / devtools / device / usb / usb_device_provider.h
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_DEVTOOLS_DEVICE_USB_USB_DEVICE_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_USB_USB_DEVICE_PROVIDER_H_
7
8 #include "chrome/browser/devtools/device/android_device_manager.h"
9
10 namespace crypto {
11 class RSAPrivateKey;
12 }
13
14 class UsbDeviceProvider : public AndroidDeviceManager::DeviceProvider {
15  public:
16   typedef DeviceProvider::QueryDevicesCallback QueryDevicesCallback;
17
18   static void CountDevices(const base::Callback<void(int)>& callback);
19
20   explicit UsbDeviceProvider(Profile* profile);
21
22   virtual void QueryDevices(const QueryDevicesCallback& callback) OVERRIDE;
23
24  private:
25   virtual ~UsbDeviceProvider();
26
27   scoped_ptr<crypto::RSAPrivateKey>  rsa_key_;
28 };
29
30 #endif  // CHROME_BROWSER_DEVTOOLS_DEVICE_USB_USB_DEVICE_PROVIDER_H_