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); |
}; |