Chromium Code Reviews

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Fix ODR violation Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 83452f96a0f8ef7bc472ef9808f3dd9bc2b8b544..eb0279d865be5c0268e65c813df84cf2f84acb58 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -741,12 +741,6 @@ class SitePerProcessFeaturePolicyBrowserTest
}
};
-bool operator==(const ParsedFeaturePolicyDeclaration& first,
- const ParsedFeaturePolicyDeclaration& second) {
- return std::tie(first.feature, first.matches_all_origins, first.origins) ==
- std::tie(second.feature, second.matches_all_origins, second.origins);
-}
-
IN_PROC_BROWSER_TEST_F(SitePerProcessHighDPIBrowserTest,
SubframeLoadsWithCorrectDeviceScaleFactor) {
GURL main_url(embedded_test_server()->GetURL(

Powered by Google App Engine