Searched refs:host_parts (Results 1 – 2 of 2) sorted by relevance
67 vector<string> host_parts = base::SplitString( in ParseFromString() local71 if (host_parts.empty() || host_parts[0].empty() || host_parts.size() > 2) { in ParseFromString()73 } else if (host_parts.size() == 2) { in ParseFromString()74 if (!base::StringToInt(host_parts[1], &port)) { in ParseFromString()80 host_ = host_parts[0]; in ParseFromString()
310 vector<string> host_parts = base::SplitString( in ParseClientRequest() local313 if (host_parts.size() > 2) { in ParseClientRequest()316 } else if (host_parts.size() == 2) { in ParseClientRequest()317 server_hostname_ = host_parts[0]; in ParseClientRequest()318 if (!base::StringToInt(host_parts[1], &server_port_)) { in ParseClientRequest()