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/public/child/request_peer.h

Issue 264613006: Move first-party cookie URL logic to browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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
« no previous file with comments | « content/common/resource_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/request_peer.h
diff --git a/content/public/child/request_peer.h b/content/public/child/request_peer.h
index ec354d8c1a1e9b98ed00974dc6c8c4736cf4b93b..74148302529b288bcb492ea5a750d248b527df36 100644
--- a/content/public/child/request_peer.h
+++ b/content/public/child/request_peer.h
@@ -37,15 +37,13 @@ class CONTENT_EXPORT RequestPeer {
// Called when a redirect occurs. The implementation may return false to
// suppress the redirect. The given ResponseInfo provides complete
- // information about the redirect, and new_url is the URL that will be
- // loaded if this method returns true. If this method returns true, the
- // output parameter *has_new_first_party_for_cookies indicates whether the
- // output parameter *new_first_party_for_cookies contains the new URL that
- // should be consulted for the third-party cookie blocking policy.
- virtual bool OnReceivedRedirect(const GURL& new_url,
- const webkit_glue::ResourceResponseInfo& info,
- bool* has_new_first_party_for_cookies,
- GURL* new_first_party_for_cookies) = 0;
+ // information about the redirect, and new_url is the URL that will be loaded
+ // if this method returns true. new_first_party_for_cookies is the new
+ // first-party URL for cookies should that have changed.
+ virtual bool OnReceivedRedirect(
+ const GURL& new_url,
+ const GURL& new_first_party_for_cookies,
+ const webkit_glue::ResourceResponseInfo& info) = 0;
// Called when response headers are available (after all redirects have
// been followed).
« no previous file with comments | « content/common/resource_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698