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

Unified Diff: net/http/http_auth_controller.h

Issue 2518633002: [Merge M55] [net/auth] Deal better with ERR_INVALID_AUTH_CREDENTIALS error. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | net/http/http_auth_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_controller.h
diff --git a/net/http/http_auth_controller.h b/net/http/http_auth_controller.h
index 7dcc987963e9e2d31169a9d156cf01bab3d23dba..dbc078e323a95339b14ca56b8ca1e64c5aa9cfa2 100644
--- a/net/http/http_auth_controller.h
+++ b/net/http/http_auth_controller.h
@@ -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_;
« no previous file with comments | « no previous file | net/http/http_auth_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698