Searched refs:new_scheme (Results 1 – 4 of 4) sorted by relevance
74 std::string new_scheme; in ToggleHTTPAndHTTPS() local76 new_scheme = "https"; in ToggleHTTPAndHTTPS()78 new_scheme = "http"; in ToggleHTTPAndHTTPS()82 comp.len = new_scheme.length(); in ToggleHTTPAndHTTPS()84 replacement.SetScheme(new_scheme.c_str(), comp); in ToggleHTTPAndHTTPS()
368 void AddStandardScheme(const char* new_scheme) { in AddStandardScheme() argument380 size_t scheme_len = strlen(new_scheme); in AddStandardScheme()388 memcpy(dup_scheme, new_scheme, scheme_len + 1); in AddStandardScheme()
45 URL_EXPORT void AddStandardScheme(const char* new_scheme);
29 const std::string new_scheme = "https"; in UpgradeUrlToHttps() local31 replacements.SetSchemeStr(new_scheme); in UpgradeUrlToHttps()