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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.h

Issue 10414035: Move TransferNavigationResourceThrottle to content since that's where it belongs. This is a step in… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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_impl.h
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_impl.h (revision 138143)
+++ content/browser/renderer_host/resource_dispatcher_host_impl.h (working copy)
@@ -84,7 +84,6 @@
const DownloadSaveInfo& save_info,
const DownloadStartedCallback& started_callback) OVERRIDE;
virtual void ClearLoginDelegateForRequest(net::URLRequest* request) OVERRIDE;
- virtual void MarkAsTransferredNavigation(net::URLRequest* request) OVERRIDE;
// Puts the resource dispatcher host in an inactive state (unable to begin
// new requests). Cancels all pending requests.
@@ -144,6 +143,10 @@
// case the caller should not send the data.
bool WillSendData(int child_id, int request_id);
+ // Marks the request as "parked". This happens if a request is
+ // redirected cross-site and needs to be resumed by a new render view.
+ void MarkAsTransferredNavigation(net::URLRequest* request);
+
// Returns the number of pending requests. This is designed for the unittests
int pending_requests() const {
return static_cast<int>(pending_requests_.size());

Powered by Google App Engine
This is Rietveld 408576698