Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: net/http/http_auth_handler_factory.h

Issue 1151843002: DO NOT LAND Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_auth_handler_factory.h
diff --git a/net/http/http_auth_handler_factory.h b/net/http/http_auth_handler_factory.h
index 06f7f34db55901118f053a082a4d2a2cb3a6862a..2fdaf4406c6f4f8661e7479847d55890f01c8c09 100644
--- a/net/http/http_auth_handler_factory.h
+++ b/net/http/http_auth_handler_factory.h
@@ -13,8 +13,7 @@
#include "net/base/net_export.h"
#include "net/http/http_auth.h"
#include "net/http/url_security_manager.h"
-
-class GURL;
+#include "url/origin.h"
namespace net {
@@ -76,7 +75,7 @@ class NET_EXPORT HttpAuthHandlerFactory {
// |*challenge| should not be reused after a call to |CreateAuthHandler()|,
virtual int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge,
HttpAuth::Target target,
- const GURL& origin,
+ const url::Origin& origin,
CreateReason create_reason,
int digest_nonce_count,
const BoundNetLog& net_log,
@@ -89,7 +88,7 @@ class NET_EXPORT HttpAuthHandlerFactory {
// more details on return values.
int CreateAuthHandlerFromString(const std::string& challenge,
HttpAuth::Target target,
- const GURL& origin,
+ const url::Origin& origin,
const BoundNetLog& net_log,
scoped_ptr<HttpAuthHandler>* handler);
@@ -101,7 +100,7 @@ class NET_EXPORT HttpAuthHandlerFactory {
int CreatePreemptiveAuthHandlerFromString(
const std::string& challenge,
HttpAuth::Target target,
- const GURL& origin,
+ const url::Origin& origin,
int digest_nonce_count,
const BoundNetLog& net_log,
scoped_ptr<HttpAuthHandler>* handler);
@@ -185,7 +184,7 @@ class NET_EXPORT HttpAuthHandlerRegistryFactory
// based on the first token in |challenge|.
int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge,
HttpAuth::Target target,
- const GURL& origin,
+ const url::Origin& origin,
CreateReason reason,
int digest_nonce_count,
const BoundNetLog& net_log,

Powered by Google App Engine
This is Rietveld 408576698