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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 40319: Use filter context to track stats better in SDCH filtering (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « net/base/sdch_manager.h ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.cc
===================================================================
--- net/url_request/url_request_http_job.cc (revision 11636)
+++ net/url_request/url_request_http_job.cc (working copy)
@@ -204,10 +204,7 @@
}
if (!encoding_types->empty()) {
- std::string mime_type;
- GetMimeType(&mime_type);
- // TODO(jar): Need to change this call to use the FilterContext interfaces.
- Filter::FixupEncodingTypes(IsSdchResponse(), mime_type, encoding_types);
+ Filter::FixupEncodingTypes(*this, encoding_types);
}
return !encoding_types->empty();
}
« no previous file with comments | « net/base/sdch_manager.h ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698