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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.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/browser/renderer_host/resource_dispatcher_host.h
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host.h (revision 121250)
+++ content/browser/renderer_host/resource_dispatcher_host.h (working copy)
@@ -91,7 +91,7 @@
const DownloadResourceHandler::OnStartedCallback& started_cb,
int child_id,
int route_id,
- const content::ResourceContext& context);
+ content::ResourceContext* context);
// Initiates a save file from the browser process (as opposed to a resource
// request from the renderer or another child process).
@@ -99,7 +99,7 @@
const GURL& referrer,
int child_id,
int route_id,
- const content::ResourceContext& context);
+ content::ResourceContext* context);
// Cancels the given request if it still exists. We ignore cancels from the
// renderer in the event of a download.
@@ -175,7 +175,7 @@
// Force cancels any pending requests for the given |context|. This is
// necessary to ensure that before |context| goes away, all requests
// for it are dead.
- void CancelRequestsForContext(const content::ResourceContext* context);
+ void CancelRequestsForContext(content::ResourceContext* context);
// net::URLRequest::Delegate
virtual void OnReceivedRedirect(net::URLRequest* request,
@@ -277,7 +277,7 @@
scoped_refptr<ResourceHandler> CreateResourceHandlerForDownload(
net::URLRequest* request,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
int child_id,
int route_id,
int request_id,
@@ -428,7 +428,7 @@
int child_id,
int route_id,
bool download,
- const content::ResourceContext& context);
+ content::ResourceContext* context);
// Returns true if |request| is in |pending_requests_|.
bool IsValidRequest(net::URLRequest* request);
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698