Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/web/tests/WebViewTest.cpp

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Cleanup, reponding to review comments 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: third_party/WebKit/Source/web/tests/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index f89ecf2332a07dbb2d6aadc01d3cdabb2ebdbe01..f6003c31724a05697d2bd7e592adc0fdb8f99d23 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -3236,6 +3236,7 @@ class CreateChildCounterFrameClient
const WebString& name,
const WebString& fallbackName,
WebSandboxFlags,
+ const WebParsedFeaturePolicy&,
const WebFrameOwnerProperties&) override;
int count() const { return m_count; }
@@ -3250,10 +3251,12 @@ WebLocalFrame* CreateChildCounterFrameClient::createChildFrame(
const WebString& name,
const WebString& fallbackName,
WebSandboxFlags sandboxFlags,
+ const WebParsedFeaturePolicy& containerPolicy,
const WebFrameOwnerProperties& frameOwnerProperties) {
++m_count;
- return TestWebFrameClient::createChildFrame(
- parent, scope, name, fallbackName, sandboxFlags, frameOwnerProperties);
+ return TestWebFrameClient::createChildFrame(parent, scope, name, fallbackName,
+ sandboxFlags, containerPolicy,
+ frameOwnerProperties);
}
TEST_P(WebViewTest, ChangeDisplayMode) {

Powered by Google App Engine