| Index: content/browser/debugger/devtools_http_handler_impl.h
|
| ===================================================================
|
| --- content/browser/debugger/devtools_http_handler_impl.h (revision 133927)
|
| +++ content/browser/debugger/devtools_http_handler_impl.h (working copy)
|
| @@ -15,6 +15,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/devtools_http_handler.h"
|
| +#include "content/public/browser/devtools_http_handler_delegate.h"
|
| #include "net/server/http_server.h"
|
| #include "net/url_request/url_request.h"
|
|
|
| @@ -50,6 +51,8 @@
|
|
|
| // DevToolsHttpHandler implementation.
|
| virtual void Stop() OVERRIDE;
|
| + virtual void SetRenderViewHostBinding(
|
| + RenderViewHostBinding* binding) OVERRIDE;
|
|
|
| // net::HttpServer::Delegate implementation.
|
| virtual void OnHttpRequest(int connection_id,
|
| @@ -89,9 +92,6 @@
|
| const std::string& message);
|
| void AcceptWebSocket(int connection_id,
|
| const net::HttpServerRequestInfo& request);
|
| - size_t BindRenderViewHost(RenderViewHost* rvh);
|
| - RenderViewHost* GetBoundRenderViewHost(size_t id);
|
| - void ResetRenderViewHostBinding();
|
|
|
| std::string ip_;
|
| int port_;
|
| @@ -111,8 +111,8 @@
|
| ConnectionToClientHostMap connection_to_client_host_ui_;
|
| net::URLRequestContextGetter* request_context_getter_;
|
| scoped_ptr<DevToolsHttpHandlerDelegate> delegate_;
|
| - typedef std::pair<int, int> Target;
|
| - std::vector<Target> targets_;
|
| + RenderViewHostBinding* binding_;
|
| + scoped_ptr<RenderViewHostBinding> default_binding_;
|
| DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl);
|
| };
|
|
|
|
|