Index: third_party/WebKit/Source/modules/fetch/Request.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Request.cpp b/third_party/WebKit/Source/modules/fetch/Request.cpp |
index dd35a7f3d7c5f993f3236e0e308e11e65dbcc473..6e971448d0ae35fba4e02d6939f87f3d3fcf839d 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Request.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Request.cpp |
@@ -609,9 +609,12 @@ String Request::getReferrerPolicy() const { |
return "origin"; |
case kReferrerPolicyOriginWhenCrossOrigin: |
return "origin-when-cross-origin"; |
+ case kReferrerPolicySameOrigin: |
+ return "same-origin"; |
+ case kReferrerPolicyStrictOrigin: |
+ return "strict-origin"; |
case kReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin: |
- DCHECK(RuntimeEnabledFeatures::ReducedReferrerGranularityEnabled()); |
- return "no-referrer-when-downgrade-origin-when-cross-origin"; |
+ return "strict-origin-when-cross-origin"; |
} |
NOTREACHED(); |
return String(); |