finish implementation of {secure:true} opt on protocol.registerStandardScehesm, and add working test
This commit is contained in:
parent
9d2e23413e
commit
99ea50649a
9 changed files with 46 additions and 14 deletions
|
@ -64,7 +64,7 @@ void RegisterStandardSchemes(const std::vector<std::string>& schemes, mate::Argu
|
|||
if (args->GetNext(&opts) && opts.Get("secure", &secure) && secure) {
|
||||
// add switches to register as secure
|
||||
base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
||||
atom::switches::kRegisterSecureSchemes, base::JoinString(schemes, ","));
|
||||
atom::switches::kSecureSchemes, base::JoinString(schemes, ","));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue