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

Unified Diff: content/browser/loader/async_revalidation_manager.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: content/browser/loader/async_revalidation_manager.cc
diff --git a/content/browser/loader/async_revalidation_manager.cc b/content/browser/loader/async_revalidation_manager.cc
index 26a639dbbe1cffcd14cef6a534006d5824d64987..aaaeb68ab834442dee66d694aaf0267178e49ead 100644
--- a/content/browser/loader/async_revalidation_manager.cc
+++ b/content/browser/loader/async_revalidation_manager.cc
@@ -113,6 +113,7 @@ void AsyncRevalidationManager::BeginAsyncRevalidation(
new_request->set_method(for_request.method());
new_request->set_first_party_for_cookies(
for_request.first_party_for_cookies());
+ new_request->set_initiator(for_request.initiator());
new_request->set_first_party_url_policy(for_request.first_party_url_policy());
new_request->SetReferrer(for_request.referrer());

Powered by Google App Engine
This is Rietveld 408576698