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

Unified Diff: net/http/http_auth_controller.h

Issue 2382293004: [net/auth] Don't abort network transaction over non-permanent auth errors. (Closed)
Patch Set: Created 4 years, 3 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') | net/http/http_auth_controller.cc » ('J')
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 f00232416262a391370c35f7a58ab466a3bca1f1..2cd4d5b2894130f15e5bab830f0d2e5ea58a84ab 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') | net/http/http_auth_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698