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 533c31df79f1545ef84ab2f450590b77339aa4a0..9a616341ca74659ec0a2c8b4819f2c744a2dceda 100644 |
--- a/content/public/browser/devtools_agent_host.h |
+++ b/content/public/browser/devtools_agent_host.h |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
+#include "googleurl/src/gurl.h" |
namespace content { |
@@ -45,6 +46,24 @@ class CONTENT_EXPORT DevToolsAgentHost |
static void ConnectRenderViewHost(int agent_host_cookie, |
RenderViewHost* rvh); |
+ // Returns the unique id of the agent. |
+ virtual int id() = 0; |
+ |
+ // Returns true if the debugger is attached. |
+ virtual bool attached() = 0; |
+ |
+ // Returns the page title. |
+ virtual std::string title() = 0; |
+ |
+ // Returns the page url. |
+ virtual GURL url() = 0; |
+ |
+ // Returns thumbnail url for the page. |
+ virtual GURL thumbnail_url() = 0; |
+ |
+ // Returns favicon url for the page. |
+ virtual GURL favicon_url() = 0; |
+ |
// Returns render view host instance for this host if any. |
virtual RenderViewHost* GetRenderViewHost() = 0; |