Lines Matching refs:scheme
170 string scheme = base::ToLowerASCII(string(token.begin(), space)); in ParseProxyString() local
172 if (scheme == "socks") in ParseProxyString()
173 scheme += "4"; in ParseProxyString()
174 else if (scheme == "proxy") in ParseProxyString()
175 scheme = "http"; in ParseProxyString()
176 else if (scheme != "https" && in ParseProxyString()
177 scheme != "socks4" && in ParseProxyString()
178 scheme != "socks5" && in ParseProxyString()
179 scheme != "direct") in ParseProxyString()
184 if (scheme != "direct" && host_and_port.empty()) in ParseProxyString()
186 ret.push_back(scheme + "://" + host_and_port); in ParseProxyString()