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
|
@ -209,7 +209,7 @@ void AtomContentClient::AddSecureSchemesAndOrigins(
|
|||
std::set<GURL>* secure_origins) {
|
||||
std::vector<std::string> schemes;
|
||||
ConvertStringWithSeparatorToVector(&schemes, ",",
|
||||
switches::kRegisterSecureSchemes);
|
||||
switches::kSecureSchemes);
|
||||
if (!schemes.empty()) {
|
||||
for (const std::string& scheme : schemes) {
|
||||
secure_schemes->insert(scheme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue