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