| 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 ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/devtools_discovery/devtools_discovery_manager.h" | 9 #include "components/devtools_discovery/devtools_discovery_manager.h" |
| 10 | 10 |
| 11 namespace android_webview { | 11 namespace android_webview { |
| 12 | 12 |
| 13 class AwDevToolsDiscoveryProvider : | 13 class AwDevToolsDiscoveryProvider : |
| 14 public devtools_discovery::DevToolsDiscoveryManager::Provider { | 14 public devtools_discovery::DevToolsDiscoveryManager::Provider { |
| 15 public: | 15 public: |
| 16 // Installs provider to devtools_discovery. | 16 // Installs provider to devtools_discovery. |
| 17 static void Install(); | 17 static void Install(); |
| 18 | 18 |
| 19 ~AwDevToolsDiscoveryProvider() override; | 19 ~AwDevToolsDiscoveryProvider() override; |
| 20 | 20 |
| 21 // devtools_discovery::DevToolsDiscoveryManager::Provider implementation. | 21 // devtools_discovery::DevToolsDiscoveryManager::Provider implementation. |
| 22 devtools_discovery::DevToolsTargetDescriptor::List GetDescriptors() override; | 22 content::DevToolsAgentHost::List GetDescriptors() override; |
| 23 | 23 |
| 24 private: | 24 private: |
| 25 AwDevToolsDiscoveryProvider(); | 25 AwDevToolsDiscoveryProvider(); |
| 26 | 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDiscoveryProvider); | 27 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDiscoveryProvider); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace android_webview | 30 } // namespace android_webview |
| 31 | 31 |
| 32 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ | 32 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ |
| OLD | NEW |