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

Unified Diff: content/common/resource_request.h

Issue 2405483002: Make the request initiator Optional (Closed)
Patch Set: Introduce NullableOrigin to use for request initiator Created 4 years, 2 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/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/common/resource_request.h
index 6e07eef027849a744e25890f1ec1c32b3656d9d1..80dd619651375f8a984897805b1a27ea8125e270 100644
--- a/content/common/resource_request.h
+++ b/content/common/resource_request.h
@@ -47,7 +47,7 @@ struct CONTENT_EXPORT ResourceRequest {
// The origin of the context which initiated the request, which will be used
// for cookie checks like 'First-Party-Only'.
- url::Origin request_initiator;
+ scoped_refptr<url::NullableOrigin> request_initiator;
// The referrer to use (may be empty).
GURL referrer;

Powered by Google App Engine
This is Rietveld 408576698