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

Unified Diff: net/base/proxy_delegate.h

Issue 1547273003: Set trusted SPDY proxy dynamically on per-profile basis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, addressed comments Created 4 years, 11 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/proxy_delegate.h
diff --git a/net/base/proxy_delegate.h b/net/base/proxy_delegate.h
index 7e00d0ca8c79d98e606c0133e408e27046ed3c6f..4018b7e1e6db2fb21ebdbf06f8e6b2e7dba636d1 100644
--- a/net/base/proxy_delegate.h
+++ b/net/base/proxy_delegate.h
@@ -67,6 +67,11 @@ class NET_EXPORT ProxyDelegate {
const HostPortPair& proxy_server,
const HttpResponseHeaders& response_headers) = 0;
+ // Returns true if proxy_server is a trusted SPDY proxy that is allowed to
mmenke 2016/02/02 16:51:26 |proxy_server|
tbansal1 2016/02/02 18:18:44 Done.
+ // push cross-origin resources.
mmenke 2016/02/02 16:51:26 +"Only affects HTTP2 proxies"?
tbansal1 2016/02/02 18:18:44 Done.
+ virtual bool IsTrustedSpdyProxy(
+ const net::ProxyServer& proxy_server) const = 0;
mmenke 2016/02/02 16:51:26 Suggest removing the const
tbansal1 2016/02/02 18:18:44 Done.
+
private:
DISALLOW_COPY_AND_ASSIGN(ProxyDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698