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

Unified Diff: content/common/resource_request.h

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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..0f5651fadff17f0ce9650188809c70f0fa0950e0 100644
--- a/content/common/resource_request.h
+++ b/content/common/resource_request.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/memory/ref_counted.h"
+#include "base/optional.h"
#include "content/common/content_export.h"
#include "content/common/navigation_params.h"
#include "content/common/resource_request_body_impl.h"
@@ -47,7 +48,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;
+ base::Optional<url::Origin> request_initiator;
// The referrer to use (may be empty).
GURL referrer;
« no previous file with comments | « content/common/net/url_fetcher.cc ('k') | content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698