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

Unified Diff: net/filter/filter_source_stream.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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/dns/dns_query.cc ('k') | net/http/transport_security_persister.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/filter_source_stream.cc
diff --git a/net/filter/filter_source_stream.cc b/net/filter/filter_source_stream.cc
index 688d6927055527a93411913a7a7a299f129bedb4..de697285ca383402b7ac793056a8d5402a8c0f81 100644
--- a/net/filter/filter_source_stream.cc
+++ b/net/filter/filter_source_stream.cc
@@ -17,9 +17,9 @@ namespace net {
namespace {
-const char kDeflate[] = "deflate";
+const char kDeflate2[] = "deflate";
const char kGZip[] = "gzip";
-const char kSdch[] = "sdch";
+const char kSdch2[] = "sdch";
const char kXGZip[] = "x-gzip";
const char kBrotli[] = "br";
@@ -79,12 +79,12 @@ FilterSourceStream::SourceType FilterSourceStream::ParseEncodingType(
return TYPE_NONE;
} else if (base::LowerCaseEqualsASCII(encoding, kBrotli)) {
return TYPE_BROTLI;
- } else if (base::LowerCaseEqualsASCII(encoding, kDeflate)) {
+ } else if (base::LowerCaseEqualsASCII(encoding, kDeflate2)) {
return TYPE_DEFLATE;
} else if (base::LowerCaseEqualsASCII(encoding, kGZip) ||
base::LowerCaseEqualsASCII(encoding, kXGZip)) {
return TYPE_GZIP;
- } else if (base::LowerCaseEqualsASCII(encoding, kSdch)) {
+ } else if (base::LowerCaseEqualsASCII(encoding, kSdch2)) {
return TYPE_SDCH;
} else {
return TYPE_UNKNOWN;
« no previous file with comments | « net/dns/dns_query.cc ('k') | net/http/transport_security_persister.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698