Index: net/filter/mock_filter_context.h |
diff --git a/net/filter/mock_filter_context.h b/net/filter/mock_filter_context.h |
index f66939da569a1d96e3b7d1a257059896c1e77f99..1a55eb595ea3291803b0552c5ded5e0ec8ffeadb 100644 |
--- a/net/filter/mock_filter_context.h |
+++ b/net/filter/mock_filter_context.h |
@@ -24,12 +24,8 @@ class MockFilterContext : public FilterContext { |
void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; } |
void SetURL(const GURL& gurl) { gurl_ = gurl; } |
- void SetContentDisposition(const std::string& disposition) { |
- content_disposition_ = disposition; |
- } |
void SetRequestTime(const base::Time time) { request_time_ = time; } |
void SetCached(bool is_cached) { is_cached_content_ = is_cached; } |
- void SetDownload(bool is_download) { is_download_ = is_download; } |
void SetResponseCode(int response_code) { response_code_ = response_code; } |
void SetSdchResponse(scoped_ptr<SdchManager::DictionarySet> handle) { |
dictionaries_handle_ = handle.Pass(); |
@@ -49,19 +45,12 @@ class MockFilterContext : public FilterContext { |
// Return false if gurl is not present. |
bool GetURL(GURL* gurl) const override; |
- // What Content-Disposition did the server supply for this data? |
- // Return false if Content-Disposition was not present. |
- bool GetContentDisposition(std::string* disposition) const override; |
- |
// What was this data requested from a server? |
base::Time GetRequestTime() const override; |
// Is data supplied from cache, or fresh across the net? |
bool IsCachedContent() const override; |
- // Is this a download? |
- bool IsDownload() const override; |
- |
// Handle to dictionaries advertised. |
SdchManager::DictionarySet* SdchDictionariesAdvertised() const override; |
@@ -79,11 +68,9 @@ class MockFilterContext : public FilterContext { |
private: |
std::string mime_type_; |
- std::string content_disposition_; |
GURL gurl_; |
base::Time request_time_; |
bool is_cached_content_; |
- bool is_download_; |
scoped_ptr<SdchManager::DictionarySet> dictionaries_handle_; |
bool ok_to_call_get_url_; |
int response_code_; |