Add webFrame.setIsolatedWorldContentSecurityPolicy

This commit is contained in:
Hugo Mano 2017-11-14 13:44:17 +01:00 committed by Cheng Zhao
parent 936d8c1117
commit f74f113d23
2 changed files with 13 additions and 1 deletions

View file

@ -78,6 +78,9 @@ class WebFrame : public mate::Wrappable<WebFrame> {
const base::string16& code,
mate::Arguments* args);
void SetIsolatedWorldContentSecurityPolicy(int world_id,
const std::string& security_policy);
// Resource related methods
blink::WebCache::ResourceTypeStats GetResourceUsage(v8::Isolate* isolate);
void ClearCache(v8::Isolate* isolate);