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

Unified Diff: net/base/network_delegate.cc

Issue 8015004: webRequest.onAuthRequired listeners can provide authentication credentials. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle multiple blocking onAuthRequired Created 9 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
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 28d0b318702c8444be751c194603f2b81473d3f3..0c7b4151c359d40d9717cd5fa36dbade644dfc8d 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -69,10 +69,12 @@ void NetworkDelegate::NotifyPACScriptError(int line_number,
OnPACScriptError(line_number, error);
}
-void NetworkDelegate::NotifyAuthRequired(URLRequest* request,
- const AuthChallengeInfo& auth_info) {
+int NetworkDelegate::NotifyAuthRequired(URLRequest* request,
+ const AuthChallengeInfo& auth_info,
+ CompletionCallback* callback,
+ AuthCredentials* credentials) {
DCHECK(CalledOnValidThread());
- OnAuthRequired(request, auth_info);
+ return OnAuthRequired(request, auth_info, callback, credentials);
}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698