| Index: headless/public/headless_web_contents.h
|
| diff --git a/headless/public/headless_web_contents.h b/headless/public/headless_web_contents.h
|
| index bbae478c5fdbcffdf2e60e5b7c13fc4faa27b719..113fcf0a41a7f19624930c49064d52d3c973d0ee 100644
|
| --- a/headless/public/headless_web_contents.h
|
| +++ b/headless/public/headless_web_contents.h
|
| @@ -75,6 +75,12 @@ class HEADLESS_EXPORT HeadlessWebContents {
|
| // Returns the headless tab socket for JS -> C++ if one was created.
|
| virtual HeadlessTabSocket* GetHeadlessTabSocket() const = 0;
|
|
|
| + // Returns the render tree node id associated with the
|
| + // |devtools_agent_host_id| if any.
|
| + virtual bool GetRenderTreeNodeIdForDevToolsAgentHostId(
|
| + const std::string& devtools_agent_host_id,
|
| + int* render_tree_node_id) const = 0;
|
| +
|
| private:
|
| friend class HeadlessWebContentsImpl;
|
| HeadlessWebContents() {}
|
|
|