Searched refs:allowed_ports (Results 1 – 3 of 3) sorted by relevance
701 void SetExplicitlyAllowedPorts(const std::string& allowed_ports) { in SetExplicitlyAllowedPorts() argument702 if (allowed_ports.empty()) in SetExplicitlyAllowedPorts()707 size_t size = allowed_ports.size(); in SetExplicitlyAllowedPorts()714 if (i != size && !IsAsciiDigit(allowed_ports[i]) && in SetExplicitlyAllowedPorts()715 (allowed_ports[i] != kComma)) in SetExplicitlyAllowedPorts()717 if (i == size || allowed_ports[i] == kComma) { in SetExplicitlyAllowedPorts()720 base::StringToInt(base::StringPiece(allowed_ports.begin() + last, in SetExplicitlyAllowedPorts()721 allowed_ports.begin() + i), in SetExplicitlyAllowedPorts()
354 NET_EXPORT void SetExplicitlyAllowedPorts(const std::string& allowed_ports);
499 std::string allowed_ports = in ProcessCmdLineImpl() local501 net::SetExplicitlyAllowedPorts(allowed_ports); in ProcessCmdLineImpl()