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

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: Addressed bnc 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..8ff6a7e999c21da42ffef7b417714128206cd662 100644
--- a/net/base/proxy_delegate.h
+++ b/net/base/proxy_delegate.h
@@ -67,6 +67,10 @@ class NET_EXPORT ProxyDelegate {
const HostPortPair& proxy_server,
const HttpResponseHeaders& response_headers) = 0;
+ // Returns true if |proxy_server| is a trusted SPDY/HTTP2 proxy that is
+ // allowed to push cross-origin resources.
+ virtual bool IsTrustedSpdyProxy(const net::ProxyServer& proxy_server) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(ProxyDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698