Index: content/browser/site_per_process_browsertest.cc |
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc |
index 6d46c964d69ff75e7f170472fe16f3bc39ec8c09..67721f6bde2323f307e300287ef7262b24e2f1db 100644 |
--- a/content/browser/site_per_process_browsertest.cc |
+++ b/content/browser/site_per_process_browsertest.cc |
@@ -662,9 +662,9 @@ class SitePerProcessFeaturePolicyBrowserTest |
"FeaturePolicy"); |
} |
- ParsedFeaturePolicy CreateFPHeader(const std::string& feature_name, |
+ FeaturePolicyHeader CreateFPHeader(const std::string& feature_name, |
const std::vector<GURL>& origins) { |
- ParsedFeaturePolicy result(1); |
+ FeaturePolicyHeader result(1); |
result[0].feature_name = feature_name; |
result[0].matches_all_origins = false; |
DCHECK(!origins.empty()); |
@@ -673,17 +673,17 @@ class SitePerProcessFeaturePolicyBrowserTest |
return result; |
} |
- ParsedFeaturePolicy CreateFPHeaderMatchesAll( |
+ FeaturePolicyHeader CreateFPHeaderMatchesAll( |
const std::string& feature_name) { |
- ParsedFeaturePolicy result(1); |
+ FeaturePolicyHeader result(1); |
result[0].feature_name = feature_name; |
result[0].matches_all_origins = true; |
return result; |
} |
}; |
-bool operator==(const FeaturePolicyParsedWhitelist& first, |
- const FeaturePolicyParsedWhitelist& second) { |
+bool operator==(const FeaturePolicyParsedDeclaration& first, |
+ const FeaturePolicyParsedDeclaration& second) { |
return std::tie(first.feature_name, first.matches_all_origins, |
first.origins) == std::tie(second.feature_name, |
second.matches_all_origins, |