| Index: net/test/embedded_test_server/embedded_test_server.h
|
| diff --git a/net/test/embedded_test_server/embedded_test_server.h b/net/test/embedded_test_server/embedded_test_server.h
|
| index 9123a511f234f23e0c3a55088c1dec29cb7dcfee..24ff8d7a7b9b4970e8b4cc4bc50095c632ae1d54 100644
|
| --- a/net/test/embedded_test_server/embedded_test_server.h
|
| +++ b/net/test/embedded_test_server/embedded_test_server.h
|
| @@ -129,6 +129,12 @@ class EmbeddedTestServer : public StreamListenSocket::Delegate {
|
| // http://127.0.0.1:<port>/path?query=foo.
|
| GURL GetURL(const std::string& relative_url) const;
|
|
|
| + // Similar to the above method with the difference that it uses the supplied
|
| + // |hostname| for the URL instead of 127.0.0.1. The hostname should be
|
| + // resolved to 127.0.0.1.
|
| + GURL GetURL(const std::string& hostname,
|
| + const std::string& relative_url) const;
|
| +
|
| // Returns the port number used by the server.
|
| int port() const { return port_; }
|
|
|
|
|