| 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..e613f8d4166b64b78708a0a400e20a4d65855bbc 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 agent unique id.
|
| + virtual int id() = 0;
|
| +
|
| + // Returns true if the debugger is attached.
|
| + virtual bool attached() = 0;
|
| +
|
| + // Returns 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;
|
|
|
|
|