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

Unified Diff: net/url_request/url_request_file_job.cc

Issue 1662763002: [ON HOLD] Implement pull-based design for content decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: net/url_request/url_request_file_job.cc
diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc
index d853c9fd5195b7b7f93798f2261d697433469d28..0c988022680dd351b600ea12f6e847b38db9f63e 100644
--- a/net/url_request/url_request_file_job.cc
+++ b/net/url_request/url_request_file_job.cc
@@ -145,12 +145,14 @@ bool URLRequestFileJob::IsRedirectResponse(GURL* location,
#endif
}
+#if 0
Filter* URLRequestFileJob::SetupFilter() const {
// Bug 9936 - .svgz files needs to be decompressed.
return base::LowerCaseEqualsASCII(file_path_.Extension(), ".svgz")
? Filter::GZipFactory()
: NULL;
}
+#endif
bool URLRequestFileJob::GetMimeType(std::string* mime_type) const {
DCHECK(request_);

Powered by Google App Engine
This is Rietveld 408576698