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

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.h

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/public/browser/resource_dispatcher_host_delegate.h
===================================================================
--- content/public/browser/resource_dispatcher_host_delegate.h (revision 121250)
+++ content/public/browser/resource_dispatcher_host_delegate.h (working copy)
@@ -44,7 +44,7 @@
const std::string& method,
const GURL& url,
ResourceType::Type resource_type,
- const ResourceContext& resource_context,
+ ResourceContext* resource_context,
const Referrer& referrer);
// Called after ShouldBeginRequest when all the resource handlers from the
@@ -53,7 +53,7 @@
// given handler.
virtual void RequestBeginning(
net::URLRequest* request,
- const ResourceContext& resource_context,
+ ResourceContext* resource_context,
ResourceType::Type resource_type,
int child_id,
int route_id,
@@ -68,7 +68,7 @@
// |in_complete| is true if this is invoked from |OnResponseCompleted|.
virtual void DownloadStarting(
net::URLRequest* request,
- const ResourceContext& resource_context,
+ ResourceContext* resource_context,
int child_id,
int route_id,
int request_id,
@@ -81,7 +81,7 @@
// the request, false will continue the request.
virtual bool ShouldDeferStart(
net::URLRequest* request,
- const ResourceContext& resource_context);
+ ResourceContext* resource_context);
// Called when an SSL Client Certificate is requested. If false is returned,
// the request is canceled. Otherwise, the certificate is chosen.
« no previous file with comments | « content/public/browser/plugin_service.h ('k') | content/public/browser/resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698