Index: content/browser/debugger/devtools_http_handler_impl.h |
=================================================================== |
--- content/browser/debugger/devtools_http_handler_impl.h (revision 133430) |
+++ 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_; |
+ DevToolsHttpHandler::RenderViewHostBinding* binding_; |
pfeldman
2012/04/25 15:27:54
Do you need DevToolsHttpHandler prefix here?
Marshall
2012/04/25 15:36:19
Done.
|
+ scoped_ptr<DevToolsHttpHandler::RenderViewHostBinding> default_binding_; |
pfeldman
2012/04/25 15:27:54
ditto
Marshall
2012/04/25 15:36:19
Done.
|
DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl); |
}; |