OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/devtools_discovery/devtools_discovery_manager.h" | |
10 | 9 |
11 class DevToolsDiscoveryProviderAndroid : | 10 class DevToolsDiscoveryProviderAndroid { |
12 public devtools_discovery::DevToolsDiscoveryManager::Provider { | |
13 public: | 11 public: |
14 // Installs provider to devtools_discovery. | 12 // Installs provider to devtools_discovery. |
15 static void Install(); | 13 static void Install(); |
16 | 14 |
17 ~DevToolsDiscoveryProviderAndroid() override; | |
18 | |
19 // devtools_discovery::DevToolsDiscoveryManager::Provider implementation. | |
20 content::DevToolsAgentHost::List GetDescriptors() override; | |
21 | |
22 private: | 15 private: |
23 DevToolsDiscoveryProviderAndroid(); | 16 DevToolsDiscoveryProviderAndroid(); |
| 17 ~DevToolsDiscoveryProviderAndroid(); |
24 | 18 |
25 DISALLOW_COPY_AND_ASSIGN(DevToolsDiscoveryProviderAndroid); | 19 DISALLOW_COPY_AND_ASSIGN(DevToolsDiscoveryProviderAndroid); |
26 }; | 20 }; |
27 | 21 |
28 #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_ | 22 #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_ |
OLD | NEW |