| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 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_DEVTOOLS_TARGET_IMPL_H_ | |
| 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/callback.h" | |
| 12 #include "components/devtools_discovery/basic_target_descriptor.h" | |
| 13 | |
| 14 class Profile; | |
| 15 | |
| 16 namespace content { | |
| 17 class DevToolsAgentHost; | |
| 18 class WebContents; | |
| 19 } | |
| 20 | |
| 21 class DevToolsTargetImpl : public devtools_discovery::BasicTargetDescriptor { | |
| 22 public: | |
| 23 explicit DevToolsTargetImpl( | |
| 24 scoped_refptr<content::DevToolsAgentHost> agent_host); | |
| 25 ~DevToolsTargetImpl() override; | |
| 26 | |
| 27 // Caller takes ownership of returned objects. | |
| 28 static std::vector<DevToolsTargetImpl*> EnumerateAll(); | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_ | |
| OLD | NEW |