Searched refs:allowed_schemes (Results 1 – 3 of 3) sorted by relevance
181 static const char* const allowed_schemes[] = { in PrepopulateDictionary() local197 for (size_t i = 0; i < arraysize(allowed_schemes); ++i) { in PrepopulateDictionary()198 if (!win_pref->GetBoolean(allowed_schemes[i], &should_block)) { in PrepopulateDictionary()199 win_pref->SetBoolean(allowed_schemes[i], false); in PrepopulateDictionary()
136 int allowed_schemes = Extension::kValidHostPermissionSchemes; in UnpackPermissionSet() local138 allowed_schemes &= ~URLPattern::SCHEME_FILE; in UnpackPermissionSet()139 URLPattern origin(allowed_schemes); in UnpackPermissionSet()
391 allowed_schemes = locless_schemes + ['http', 'https', 'ftp', 'ftps']392 if scheme not in allowed_schemes: