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