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 COMPONENTS_DEVTOOLS_DISCOVERY_BASIC_TARGET_DESCRIPTOR_H_ | |
6 #define COMPONENTS_DEVTOOLS_DISCOVERY_BASIC_TARGET_DESCRIPTOR_H_ | |
7 | |
8 #include "components/devtools_discovery/devtools_target_descriptor.h" | |
9 | |
10 namespace devtools_discovery { | |
11 | |
12 class BasicTargetDescriptor : public DevToolsTargetDescriptor { | |
13 public: | |
14 explicit BasicTargetDescriptor( | |
15 scoped_refptr<content::DevToolsAgentHost> agent_host); | |
16 ~BasicTargetDescriptor() override; | |
17 | |
18 scoped_refptr<content::DevToolsAgentHost> GetAgentHost() const override; | |
19 | |
20 private: | |
21 scoped_refptr<content::DevToolsAgentHost> agent_host_; | |
22 }; | |
23 | |
24 } // namespace devtools_discovery | |
25 | |
26 #endif // COMPONENTS_DEVTOOLS_DISCOVERY_BASIC_TARGET_DESCRIPTOR_H_ | |
OLD | NEW |