| Index: content/public/browser/devtools_http_handler.h
|
| diff --git a/content/public/browser/devtools_http_handler.h b/content/public/browser/devtools_http_handler.h
|
| index 95cf4077ebaaf1a963e586826825907d70e8ce7a..d582f019fe098a88a981c04db1a97aee56ac6c4f 100644
|
| --- a/content/public/browser/devtools_http_handler.h
|
| +++ b/content/public/browser/devtools_http_handler.h
|
| @@ -26,19 +26,6 @@ class DevToolsHttpHandlerDelegate;
|
| // this browser.
|
| class DevToolsHttpHandler {
|
| public:
|
| - // Interface responsible for mapping DevToolsAgentHost instances to/from
|
| - // string identifiers.
|
| - class DevToolsAgentHostBinding {
|
| - public:
|
| - virtual ~DevToolsAgentHostBinding() {}
|
| -
|
| - // Returns the mapping of DevToolsAgentHost to identifier.
|
| - virtual std::string GetIdentifier(DevToolsAgentHost* agent_host) = 0;
|
| -
|
| - // Returns the mapping of identifier to DevToolsAgentHost.
|
| - virtual DevToolsAgentHost* ForIdentifier(const std::string& identifier) = 0;
|
| - };
|
| -
|
| // Returns true if the given protocol version is supported.
|
| CONTENT_EXPORT static bool IsSupportedProtocolVersion(
|
| const std::string& version);
|
| @@ -57,12 +44,7 @@ class DevToolsHttpHandler {
|
| // Automatically destroys the handler instance.
|
| virtual void Stop() = 0;
|
|
|
| - // Set the DevToolsAgentHostBinding instance. If no instance is provided the
|
| - // default implementation will be used.
|
| - virtual void SetDevToolsAgentHostBinding(
|
| - DevToolsAgentHostBinding* binding) = 0;
|
| -
|
| - // Returns the URL for the address to debug |render_view_host|.
|
| + // Returns the URL for the address to debug |agent_host|.
|
| virtual GURL GetFrontendURL(DevToolsAgentHost* agent_host) = 0;
|
|
|
| protected:
|
|
|