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

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

Issue 7647003: Update routing id of pending resource requests for reparented iframes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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
diff --git a/content/browser/renderer_host/resource_dispatcher_host.h b/content/browser/renderer_host/resource_dispatcher_host.h
index 27a52ac6dee8a1d48ce9496fc278cc0eea4eea25..9e814936273198ebf696f6aab049257cd76e5727 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.h
+++ b/content/browser/renderer_host/resource_dispatcher_host.h
@@ -102,6 +102,12 @@ class ResourceDispatcherHost : public net::URLRequest::Delegate {
int request_id,
bool from_renderer);
+ // Assigns the pending request a new routing_id because it was transferred
+ // to a new page.
+ void TransferRequestToNewPage(int process_unique_id,
+ int new_routing_id,
+ int request_id);
+
// Follows a deferred redirect for the given request.
// new_first_party_for_cookies, if non-empty, is the new cookie policy URL
// for the redirected URL. If the cookie policy URL needs changing, pass
@@ -400,6 +406,7 @@ class ResourceDispatcherHost : public net::URLRequest::Delegate {
void OnDataDownloadedACK(int request_id);
void OnUploadProgressACK(int request_id);
void OnCancelRequest(int request_id);
+ void OnTransferRequestToNewPage(const IPC::Message& msg, int request_id);
void OnFollowRedirect(int request_id,
bool has_new_first_party_for_cookies,
const GURL& new_first_party_for_cookies);

Powered by Google App Engine
This is Rietveld 408576698