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

Unified Diff: content/browser/renderer_host/socket_stream_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
« no previous file with comments | « content/browser/renderer_host/socket_stream_dispatcher_host.h ('k') | content/browser/resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/socket_stream_dispatcher_host.cc
===================================================================
--- content/browser/renderer_host/socket_stream_dispatcher_host.cc (revision 121250)
+++ content/browser/renderer_host/socket_stream_dispatcher_host.cc (working copy)
@@ -17,7 +17,7 @@
SocketStreamDispatcherHost::SocketStreamDispatcherHost(
ResourceMessageFilter::URLRequestContextSelector* selector,
- const content::ResourceContext* resource_context)
+ content::ResourceContext* resource_context)
: url_request_context_selector_(selector),
resource_context_(resource_context) {
DCHECK(selector);
@@ -109,7 +109,7 @@
bool SocketStreamDispatcherHost::CanGetCookies(net::SocketStream* socket,
const GURL& url) {
return content::GetContentClient()->browser()->AllowGetCookie(
- url, url, net::CookieList(), *resource_context_, 0, MSG_ROUTING_NONE);
+ url, url, net::CookieList(), resource_context_, 0, MSG_ROUTING_NONE);
}
bool SocketStreamDispatcherHost::CanSetCookie(net::SocketStream* request,
@@ -117,7 +117,7 @@
const std::string& cookie_line,
net::CookieOptions* options) {
return content::GetContentClient()->browser()->AllowSetCookie(
- url, url, cookie_line, *resource_context_, 0, MSG_ROUTING_NONE, options);
+ url, url, cookie_line, resource_context_, 0, MSG_ROUTING_NONE, options);
}
// Message handlers called by OnMessageReceived.
« no previous file with comments | « content/browser/renderer_host/socket_stream_dispatcher_host.h ('k') | content/browser/resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698