Index: net/http/http_auth_handler.h |
diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h |
index 1aee79556b0502e86929e625259932c379573ace..a9ba1d91dd44539edbfd973786d9f6a0afc0aafb 100644 |
--- a/net/http/http_auth_handler.h |
+++ b/net/http/http_auth_handler.h |
@@ -11,6 +11,7 @@ |
#include "net/base/net_export.h" |
#include "net/http/http_auth.h" |
#include "net/log/net_log.h" |
+#include "url/origin.h" |
namespace net { |
@@ -32,7 +33,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandler { |
// for later use, and are not part of the initial challenge. |
bool InitFromChallenge(HttpAuthChallengeTokenizer* challenge, |
HttpAuth::Target target, |
- const GURL& origin, |
+ const url::Origin& origin, |
const BoundNetLog& net_log); |
// Determines how the previous authorization attempt was received. |
@@ -102,9 +103,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandler { |
// Returns the proxy or server which issued the authentication challenge |
// that this HttpAuthHandler is handling. The URL includes scheme, host, and |
// port, but does not include path. |
- const GURL& origin() const { |
- return origin_; |
- } |
+ const url::Origin& origin() const { return origin_; } |
// Returns true if the authentication scheme does not send the username and |
// password in the clear. |
@@ -171,7 +170,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandler { |
// The {scheme, host, port} for the authentication target. Used by "ntlm" |
// and "negotiate" to construct the service principal name. |
- GURL origin_; |
+ url::Origin origin_; |
// The score for this challenge. Higher numbers are better. |
int score_; |