Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Unified Diff: content/browser/debugger/devtools_http_handler_impl.h

Issue 10169043: Allow customization of remote debugger URL targets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
@@ -89,9 +90,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 +109,7 @@
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_;
+ scoped_ptr<DevToolsHttpHandlerDelegate::BindingHandler> binding_handler_;
pfeldman 2012/04/25 05:45:15 You will often want existing class to implement th
Marshall 2012/04/25 15:14:57 Done.
DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698