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

Unified Diff: content/browser/renderer_host/p2p/socket_dispatcher_host.h

Issue 17132012: Proxy support for P2P TCP Socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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/renderer_host/p2p/socket_dispatcher_host.h
===================================================================
--- content/browser/renderer_host/p2p/socket_dispatcher_host.h (revision 206737)
+++ content/browser/renderer_host/p2p/socket_dispatcher_host.h (working copy)
@@ -13,6 +13,10 @@
#include "net/base/ip_endpoint.h"
#include "net/base/network_change_notifier.h"
+namespace net {
+class URLRequestContextGetter;
+}
+
namespace content {
class P2PSocketHost;
@@ -22,7 +26,8 @@
: public content::BrowserMessageFilter,
public net::NetworkChangeNotifier::IPAddressObserver {
public:
- P2PSocketDispatcherHost(content::ResourceContext* resource_context);
+ P2PSocketDispatcherHost(content::ResourceContext* resource_context,
+ net::URLRequestContextGetter* getter);
Sergey Ulanov 2013/06/20 01:50:02 better to call it url_context.
Mallinath (Gone from Chromium) 2013/06/20 05:24:15 Done.
// content::BrowserMessageFilter overrides.
virtual void OnChannelClosing() OVERRIDE;
@@ -72,6 +77,7 @@
const net::IPAddressNumber& result);
content::ResourceContext* resource_context_;
+ scoped_refptr<net::URLRequestContextGetter> context_getter_;
Sergey Ulanov 2013/06/20 01:50:02 url_context_
Mallinath (Gone from Chromium) 2013/06/20 05:24:15 Done.
SocketsMap sockets_;

Powered by Google App Engine
This is Rietveld 408576698