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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 1253353004: WIP: Teach "First-Party-Only" cookies about the requestor origin. Base URL: https://chromium.googlesource.com/chromium/src.git@cookie-options
Patch Set: Created 5 years, 5 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 | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 73e785369b518dbdba344c3f1f1b9511593a8d2d..9d51e9eb70f97842821a53548237380b6c3a3575 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -95,6 +95,10 @@ void URLFetcherImpl::SetFirstPartyForCookies(
core_->SetFirstPartyForCookies(first_party_for_cookies);
}
+void URLFetcherImpl::SetRequestorOrigin(const url::Origin& requestor_origin) {
+ core_->SetRequestorOrigin(requestor_origin);
+}
+
void URLFetcherImpl::SetURLRequestUserData(
const void* key,
const CreateDataCallback& create_data_callback) {
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698