Lines Matching refs:string
14 #include <string>
89 static ProxyServer FromURI(const std::string& uri, Scheme default_scheme);
90 static ProxyServer FromURI(std::string::const_iterator uri_begin,
91 std::string::const_iterator uri_end,
94 // Formats as a URI string. This does the reverse of FromURI.
95 std::string ToURI() const;
97 // Parses from a PAC string result.
111 static ProxyServer FromPacString(const std::string& pac_string);
112 static ProxyServer FromPacString(std::string::const_iterator pac_string_begin,
113 std::string::const_iterator pac_string_end);
133 std::string ToPacString() const;
143 static Scheme GetSchemeFromURI(const std::string& scheme);
158 // Creates a ProxyServer given a scheme, and host/port string. If parsing the
159 // host/port string fails, the returned instance will be invalid.
162 std::string::const_iterator host_and_port_begin,
163 std::string::const_iterator host_and_port_end);