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

Unified Diff: net/http/http_response_headers.h

Issue 156373002: Support for new data reduction proxy via header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation error on unsupported platforms Created 6 years, 10 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/http/http_network_transaction.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_headers.h
diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h
index 6a5dc83c35482bc22c07d1ba4fd367f31a76fa7f..deba3b6d974fd45c42f20d8b7f94b14182d1573f 100644
--- a/net/http/http_response_headers.h
+++ b/net/http/http_response_headers.h
@@ -272,6 +272,9 @@ class NET_EXPORT HttpResponseHeaders
// If all available Chrome proxies should by bypassed, |bypass_all| is set to
// true. |proxy_info| must be non-NULL.
bool GetChromeProxyInfo(ChromeProxyInfo* proxy_info) const;
+
+ // Returns true if response headers contain the Chrome proxy Via header value.
+ bool IsChromeProxyResponse() const;
#endif
// Creates a Value for use with the NetLog containing the response headers.
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698