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

Unified Diff: net/http/http_network_transaction.h

Issue 2753453003: Reject unadvertised encodings (Closed)
Patch Set: Reject unadvertised encodings. Created 3 years, 9 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/http/http_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 9d9a56298822d7c890a1874e76b10dae8516d68a..07415b33b6a404beb20fcc5ca0c3f48dfcaba5d9 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -296,6 +296,10 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
void CopyConnectionAttemptsFromStreamRequest();
+ // Returns true if response "Content-Encoding" headers respect
+ // "Accept-Encoding".
+ bool ContentEncodingsValid() const;
+
scoped_refptr<HttpAuthController>
auth_controllers_[HttpAuth::AUTH_NUM_TARGETS];

Powered by Google App Engine
This is Rietveld 408576698