webFrame: api to make scheme bypass CSP

This commit is contained in:
Robo 2015-07-29 16:50:50 +05:30
parent 2ab079dc7d
commit 92ea533aee
3 changed files with 27 additions and 27 deletions

View file

@ -54,6 +54,9 @@ class WebFrame : public mate::Wrappable {
bool auto_spell_correct_turned_on,
v8::Local<v8::Object> provider);
void RegisterURLSchemeAsSecure(const std::string& scheme);
void RegisterURLSchemeAsBypassingCsp(const std::string& scheme);
// mate::Wrappable:
virtual mate::ObjectTemplateBuilder GetObjectTemplateBuilder(
v8::Isolate* isolate);