Chromium Code Reviews| Index: content/public/browser/devtools_agent_host.h |
| diff --git a/content/public/browser/devtools_agent_host.h b/content/public/browser/devtools_agent_host.h |
| index 1deed12873c4ff7d082cfe9bd3785d1025e53420..324230a76ac48e05e55a376c15a02e48f6e4aade 100644 |
| --- a/content/public/browser/devtools_agent_host.h |
| +++ b/content/public/browser/devtools_agent_host.h |
| @@ -52,6 +52,14 @@ class CONTENT_EXPORT DevToolsAgentHost |
| // Returns whether particular version of DevTools protocol is supported. |
| static bool IsSupportedProtocolVersion(const std::string& version); |
| + // Returns the DevTools FrameId for the given pair of |process_id| and |
| + // |frame_tree_node_id|. This is sent by the renderer and shouldn't be fully |
|
Charlie Reis
2017/04/26 19:52:55
nit: Remove extra space before "sent".
alex clarke (OOO till 29th)
2017/04/27 08:49:43
Done.
|
| + // trusted. |
| + // TODO(alexclarke): Remove once there is a solution for stable frame IDs. |
| + static std::string GetUntrustedDevToolsFrameIdForFrameTreeNodeId( |
| + int process_id, |
| + int frame_tree_node_id); |
| + |
| // Returns DevToolsAgentHost with a given |id| or nullptr of it doesn't exist. |
| static scoped_refptr<DevToolsAgentHost> GetForId(const std::string& id); |