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

Unified Diff: net/http/http_auth_controller.h

Issue 2432873003: [Merge-54][net/auth] Don't abort network transaction over non-permanent auth errors. (Closed)
Patch Set: Created 4 years, 2 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
« 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 04f3264e70c028562a34d6ead563aa977db5e032..4d91bd46891f4694a0f07ab76f51dccdc2954e9a 100644
--- a/net/http/http_auth_controller.h
+++ b/net/http/http_auth_controller.h
@@ -110,10 +110,10 @@ 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);
« 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