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 9b9a0cc85e781fdfb1a7fe771229449de78bb982..80182fe4c27fe8f2bf9d20194b8c992ff1f6fb73 100644 |
--- a/content/public/browser/devtools_agent_host.h |
+++ b/content/public/browser/devtools_agent_host.h |
@@ -52,6 +52,9 @@ class CONTENT_EXPORT DevToolsAgentHost |
// Returns a list of all existing RenderViewHost's that can be debugged. |
static std::vector<RenderViewHost*> GetValidRenderViewHosts(); |
+ // Returns true if there is a client attached. |
+ virtual bool IsAttached() = 0; |
+ |
// Starts inspecting element at position (|x|, |y|) in the specified page. |
virtual void InspectElement(int x, int y) = 0; |