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

Unified Diff: net/base/network_delegate.cc

Issue 332313003: Add Finch experiment for selectively bypassing proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: somehow missed a chromeos ResolveProxy invocation Created 6 years, 5 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 | « net/base/network_delegate.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 0e660e2a3de7642335af8f6bfdbea7612e794d35..448f217641ecfa1966129f290dc2d55f679475ef 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -21,6 +21,13 @@ int NetworkDelegate::NotifyBeforeURLRequest(
return OnBeforeURLRequest(request, callback, new_url);
}
+void NetworkDelegate::NotifyResolveProxy(const GURL& url, int load_flags,
+ ProxyInfo* result) {
+ DCHECK(CalledOnValidThread());
+ DCHECK(result);
+ OnResolveProxy(url, load_flags, result);
+}
+
int NetworkDelegate::NotifyBeforeSendHeaders(
URLRequest* request, const CompletionCallback& callback,
HttpRequestHeaders* headers) {
@@ -155,6 +162,10 @@ int NetworkDelegate::OnBeforeURLRequest(URLRequest* request,
return OK;
}
+void NetworkDelegate::OnResolveProxy(const GURL& url, int load_flags,
+ ProxyInfo* result) {
+}
+
int NetworkDelegate::OnBeforeSendHeaders(URLRequest* request,
const CompletionCallback& callback,
HttpRequestHeaders* headers) {
« no previous file with comments | « net/base/network_delegate.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698