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" | |
10 | 9 |
11 namespace android_webview { | 10 namespace android_webview { |
12 | 11 |
13 class AwDevToolsDiscoveryProvider : | 12 class AwDevToolsDiscoveryProvider { |
14 public devtools_discovery::DevToolsDiscoveryManager::Provider { | |
15 public: | 13 public: |
16 // Installs provider to devtools_discovery. | 14 // Installs provider to devtools_discovery. |
17 static void Install(); | 15 static void Install(); |
18 | 16 |
19 ~AwDevToolsDiscoveryProvider() override; | |
20 | |
21 // devtools_discovery::DevToolsDiscoveryManager::Provider implementation. | |
22 content::DevToolsAgentHost::List GetDescriptors() override; | |
23 | |
24 private: | 17 private: |
25 AwDevToolsDiscoveryProvider(); | 18 AwDevToolsDiscoveryProvider(); |
26 | 19 ~AwDevToolsDiscoveryProvider() override; |
dgozman
2016/08/25 01:08:11
Doesn't override anything.
| |
27 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDiscoveryProvider); | 20 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDiscoveryProvider); |
28 }; | 21 }; |
29 | 22 |
30 } // namespace android_webview | 23 } // namespace android_webview |
31 | 24 |
32 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ | 25 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ |
OLD | NEW |