diff options
Diffstat (limited to 'chromium/net/http/http_auth_controller.h')
-rw-r--r-- | chromium/net/http/http_auth_controller.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chromium/net/http/http_auth_controller.h b/chromium/net/http/http_auth_controller.h index 04f3264e70c..dbc078e323a 100644 --- a/chromium/net/http/http_auth_controller.h +++ b/chromium/net/http/http_auth_controller.h @@ -14,7 +14,6 @@ #include "net/base/completion_callback.h" #include "net/base/net_export.h" #include "net/http/http_auth.h" -#include "net/log/net_log.h" #include "url/gurl.h" namespace net { @@ -25,6 +24,7 @@ class HttpAuthHandler; class HttpAuthHandlerFactory; class HttpAuthCache; class HttpRequestHeaders; +class NetLogWithSource; struct HttpRequestInfo; class SSLInfo; @@ -45,7 +45,7 @@ class NET_EXPORT_PRIVATE HttpAuthController // were necessary. virtual int MaybeGenerateAuthToken(const HttpRequestInfo* request, const CompletionCallback& callback, - const BoundNetLog& net_log); + const NetLogWithSource& net_log); // Adds either the proxy auth header, or the origin server auth header, // as specified by |target_|. @@ -59,7 +59,7 @@ class NET_EXPORT_PRIVATE HttpAuthController const SSLInfo& ssl_info, bool do_not_send_server_auth, bool establishing_tunnel, - const BoundNetLog& net_log); + const NetLogWithSource& net_log); // Store the supplied credentials and prepare to restart the auth. virtual void ResetAuth(const AuthCredentials& credentials); @@ -90,7 +90,7 @@ class NET_EXPORT_PRIVATE HttpAuthController // Searches the auth cache for an entry that encompasses the request's path. // If such an entry is found, updates |identity_| and |handler_| with the // cache entry's data and returns true. - bool SelectPreemptiveAuth(const BoundNetLog& net_log); + bool SelectPreemptiveAuth(const NetLogWithSource& net_log); // Invalidates the current handler. If |action| is // INVALIDATE_HANDLER_AND_CACHED_CREDENTIALS, then also invalidate @@ -110,12 +110,12 @@ class NET_EXPORT_PRIVATE HttpAuthController // URLRequestHttpJob can prompt for credentials. void PopulateAuthChallenge(); - // If |result| indicates a permanent failure, disables the current - // auth scheme for this controller and returns true. Returns false - // otherwise. - bool DisableOnAuthHandlerResult(int result); + // Handle the result of calling GenerateAuthToken on an HttpAuthHandler. The + // return value of this function should be used as the return value of the + // GenerateAuthToken operation. + int HandleGenerateTokenResult(int result); - void OnIOComplete(int result); + void OnGenerateAuthTokenDone(int result); // Indicates if this handler is for Proxy auth or Server auth. HttpAuth::Target target_; |