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

Unified Diff: net/filter/mock_filter_context.cc

Issue 1008873006: [net] Remove logic for fixing up Gzip encoding type for downloads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a basic test Created 5 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/filter/mock_filter_context.h ('k') | net/net.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/mock_filter_context.cc
diff --git a/net/filter/mock_filter_context.cc b/net/filter/mock_filter_context.cc
index 67012de0c75ff3ee574ed17bfaf3d72e76524a07..ebcaa1865211a033c45f201d3bbaf069d2841cdd 100644
--- a/net/filter/mock_filter_context.cc
+++ b/net/filter/mock_filter_context.cc
@@ -10,7 +10,6 @@ namespace net {
MockFilterContext::MockFilterContext()
: is_cached_content_(false),
- is_download_(false),
ok_to_call_get_url_(true),
response_code_(-1),
context_(new URLRequestContext()) {
@@ -37,13 +36,6 @@ bool MockFilterContext::GetURL(GURL* gurl) const {
return true;
}
-bool MockFilterContext::GetContentDisposition(std::string* disposition) const {
- if (content_disposition_.empty())
- return false;
- *disposition = content_disposition_;
- return true;
-}
-
// What was this data requested from a server?
base::Time MockFilterContext::GetRequestTime() const {
return request_time_;
@@ -51,8 +43,6 @@ base::Time MockFilterContext::GetRequestTime() const {
bool MockFilterContext::IsCachedContent() const { return is_cached_content_; }
-bool MockFilterContext::IsDownload() const { return is_download_; }
-
SdchManager::DictionarySet*
MockFilterContext::SdchDictionariesAdvertised() const {
return dictionaries_handle_.get();
« no previous file with comments | « net/filter/mock_filter_context.h ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698