diff options
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r-- | net/http/http_network_transaction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h index 3217fac..7b033e3 100644 --- a/net/http/http_network_transaction.h +++ b/net/http/http_network_transaction.h @@ -258,6 +258,10 @@ class HttpNetworkTransaction : public HttpTransaction { // Get the {scheme, host, port} for the authentication target GURL AuthOrigin(HttpAuth::Target target) const; + // Same as AuthOrigin(), but will return an invalid GURL if the target is + // invalid. + GURL PossiblyInvalidAuthOrigin(HttpAuth::Target target) const; + // Get the absolute path of the resource needing authentication. // For proxy authentication the path is always empty string. std::string AuthPath(HttpAuth::Target target) const; |