| Index: net/filter/mock_filter_context.cc
|
| diff --git a/net/filter/mock_filter_context.cc b/net/filter/mock_filter_context.cc
|
| index ec6db0111c62b1951ceae4bf59564288808dd7e3..9eb56d8d5847b8592a4b4f103b63a5db2e513cc3 100644
|
| --- a/net/filter/mock_filter_context.cc
|
| +++ b/net/filter/mock_filter_context.cc
|
| @@ -27,6 +27,13 @@ bool MockFilterContext::GetURL(GURL* gurl) const {
|
| return true;
|
| }
|
|
|
| +bool MockFilterContext::GetFilename(std::string* filename) const {
|
| + if (filename_.empty())
|
| + return false;
|
| + *filename = filename_;
|
| + return true;
|
| +}
|
| +
|
| // What was this data requested from a server?
|
| base::Time MockFilterContext::GetRequestTime() const {
|
| return request_time_;
|
|
|