webframe: api to register scheme as privileged

This commit is contained in:
Robo 2015-09-21 22:59:59 +05:30
parent 01a3bf5881
commit 325feca864
3 changed files with 21 additions and 1 deletions

View file

@ -58,6 +58,7 @@ class WebFrame : public mate::Wrappable {
void RegisterURLSchemeAsSecure(const std::string& scheme);
void RegisterURLSchemeAsBypassingCsp(const std::string& scheme);
void RegisterURLSchemeAsPrivileged(const std::string& scheme);
// mate::Wrappable:
virtual mate::ObjectTemplateBuilder GetObjectTemplateBuilder(