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

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

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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.cc
===================================================================
--- content/browser/renderer_host/p2p/socket_dispatcher_host.cc (revision 121250)
+++ content/browser/renderer_host/p2p/socket_dispatcher_host.cc (working copy)
@@ -101,7 +101,7 @@
};
P2PSocketDispatcherHost::P2PSocketDispatcherHost(
- const content::ResourceContext* resource_context)
+ content::ResourceContext* resource_context)
: resource_context_(resource_context),
monitoring_networks_(false) {
}
@@ -204,7 +204,7 @@
const std::string& host_name,
int32 request_id) {
DnsRequest* request = new DnsRequest(
- msg.routing_id(), request_id, resource_context_->host_resolver());
+ msg.routing_id(), request_id, resource_context_->GetHostResolver());
dns_requests_.insert(request);
request->Resolve(host_name, base::Bind(
&P2PSocketDispatcherHost::OnAddressResolved,
« no previous file with comments | « content/browser/renderer_host/p2p/socket_dispatcher_host.h ('k') | content/browser/renderer_host/pepper_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698