OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_ADB_DEVICE_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_ADB_DEVICE_PROVIDER_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_ADB_DEVICE_PROVIDER_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_ADB_DEVICE_PROVIDER_H_ |
7 | 7 |
8 #include "chrome/browser/devtools/device/android_device_manager.h" | 8 #include "chrome/browser/devtools/device/android_device_manager.h" |
9 | 9 |
10 class AdbDeviceProvider : public AndroidDeviceManager::DeviceProvider { | 10 class AdbDeviceProvider : public AndroidDeviceManager::DeviceProvider { |
11 public: | 11 public: |
12 virtual void QueryDevices(const SerialsCallback& callback) OVERRIDE; | 12 virtual void QueryDevices(const SerialsCallback& callback) override; |
13 | 13 |
14 virtual void QueryDeviceInfo(const std::string& serial, | 14 virtual void QueryDeviceInfo(const std::string& serial, |
15 const DeviceInfoCallback& callback) OVERRIDE; | 15 const DeviceInfoCallback& callback) override; |
16 | 16 |
17 virtual void OpenSocket(const std::string& serial, | 17 virtual void OpenSocket(const std::string& serial, |
18 const std::string& socket_name, | 18 const std::string& socket_name, |
19 const SocketCallback& callback) OVERRIDE; | 19 const SocketCallback& callback) override; |
20 | 20 |
21 private: | 21 private: |
22 virtual ~AdbDeviceProvider(); | 22 virtual ~AdbDeviceProvider(); |
23 }; | 23 }; |
24 | 24 |
25 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_ADB_DEVICE_PROVIDER_H_ | 25 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_ADB_DEVICE_PROVIDER_H_ |
OLD | NEW |