summaryrefslogtreecommitdiffstats
path: root/src/core/dev_tools_http_handler_delegate_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dev_tools_http_handler_delegate_qt.h')
-rw-r--r--src/core/dev_tools_http_handler_delegate_qt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/dev_tools_http_handler_delegate_qt.h b/src/core/dev_tools_http_handler_delegate_qt.h
index 9d9212e6d..be6e97419 100644
--- a/src/core/dev_tools_http_handler_delegate_qt.h
+++ b/src/core/dev_tools_http_handler_delegate_qt.h
@@ -67,9 +67,10 @@ public:
virtual bool BundlesFrontendResources() Q_DECL_OVERRIDE;
virtual base::FilePath GetDebugFrontendDir() Q_DECL_OVERRIDE;
virtual std::string GetPageThumbnailData(const GURL& url) Q_DECL_OVERRIDE;
- virtual content::RenderViewHost* CreateNewTarget() Q_DECL_OVERRIDE;
- virtual TargetType GetTargetType(content::RenderViewHost*) Q_DECL_OVERRIDE;
- virtual std::string GetViewDescription(content::RenderViewHost*) Q_DECL_OVERRIDE;
+ virtual scoped_ptr<content::DevToolsTarget> CreateNewTarget(const GURL&) Q_DECL_OVERRIDE;
+ // Requests the list of all inspectable targets.
+ // The caller gets the ownership of the returned targets.
+ virtual void EnumerateTargets(TargetCallback callback) Q_DECL_OVERRIDE;
virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(net::StreamListenSocket::Delegate* delegate, std::string* name) Q_DECL_OVERRIDE;
private: