[Permissions Policy] Rename remaining 'FeaturePolicy' terms
This CL renames remaining 'FeaturePolicy' occurrences in
method names, class names and test names.
Note: 'FeaturePolicy' in feature enums
(web_feature, base::features, etc.) are not renamed, but
future usage of 'FeaturePolicy' in those enums should be discouraged.
Bug: 1123116
Change-Id: Ic31f8a325da87d9f0154f5588fc5e5f80893578f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727582
Commit-Queue: Daniel Cheng <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Ian Clelland <[email protected]>
Owners-Override: Daniel Cheng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#861246}
diff --git a/content/browser/renderer_host/navigator_unittest.cc b/content/browser/renderer_host/navigator_unittest.cc
index 0d10892..b122559da 100644
--- a/content/browser/renderer_host/navigator_unittest.cc
+++ b/content/browser/renderer_host/navigator_unittest.cc
@@ -1435,7 +1435,7 @@
// Permissions Policy: Test that the permissions policy is reset when navigating
// pages within a site.
-TEST_F(NavigatorTest, FeaturePolicySameSiteNavigation) {
+TEST_F(NavigatorTest, PermissionsPolicySameSiteNavigation) {
const GURL kUrl1("http://www.chromium.org/");
const GURL kUrl2("http://www.chromium.org/Home");
@@ -1458,7 +1458,7 @@
// Permissions Policy: Test that the permissions policy is not reset when
// navigating within a page.
-TEST_F(NavigatorTest, FeaturePolicyFragmentNavigation) {
+TEST_F(NavigatorTest, PermissionsPolicyFragmentNavigation) {
const GURL kUrl1("http://www.chromium.org/");
const GURL kUrl2("http://www.chromium.org/#Home");
@@ -1480,7 +1480,7 @@
// Permissions Policy: Test that the permissions policy is set correctly when
// inserting a new child frame.
-TEST_F(NavigatorTest, FeaturePolicyNewChild) {
+TEST_F(NavigatorTest, PermissionsPolicyNewChild) {
const GURL kUrl1("http://www.chromium.org/");
const GURL kUrl2("http://www.chromium.org/Home");