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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 1411813003: Teach URLRequest about initiator checks for First-Party-Only cookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback. Created 4 years, 11 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: net/url_request/url_fetcher_impl.cc
diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc
index ed00e4ef8b8e7b521da8b15e1d92ae411d8b51f3..37a77ffda32fff13fe223abe48ae8a2bfe6edb0a 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -92,9 +92,8 @@ void URLFetcherImpl::SetRequestContext(
core_->SetRequestContext(request_context_getter);
}
-void URLFetcherImpl::SetFirstPartyForCookies(
- const GURL& first_party_for_cookies) {
- core_->SetFirstPartyForCookies(first_party_for_cookies);
+void URLFetcherImpl::SetInitiatorURL(const GURL& initiator) {
+ core_->SetInitiatorURL(initiator);
}
void URLFetcherImpl::SetURLRequestUserData(

Powered by Google App Engine
This is Rietveld 408576698