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

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

Issue 385024: Propagate the "first party for cookies" from WebKit through the resource... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 1 month 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: chrome/browser/renderer_host/resource_dispatcher_host.h
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host.h (revision 31948)
+++ chrome/browser/renderer_host/resource_dispatcher_host.h (working copy)
@@ -142,8 +142,13 @@
bool from_renderer);
// 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. Pass an empty, invalid URL as
+ // new_first_party_for_cookies to indicate that the cookie policy URL
+ // doesn't need changing.
void FollowDeferredRedirect(int process_unique_id,
- int request_id);
+ int request_id,
+ const GURL& new_first_party_for_cookies);
// Returns true if it's ok to send the data. If there are already too many
// data messages pending, it pauses the request and returns false. In this
@@ -400,7 +405,8 @@
void OnDataReceivedACK(int request_id);
void OnUploadProgressACK(int request_id);
void OnCancelRequest(int request_id);
- void OnFollowRedirect(int request_id);
+ void OnFollowRedirect(int request_id,
+ const GURL& new_first_party_for_cookies);
// Returns true if the message passed in is a resource related message.
static bool IsResourceDispatcherHostMessage(const IPC::Message&);
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | webkit/glue/resource_loader_bridge.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698