| Index: net/filter/mock_filter_context.cc
|
| diff --git a/net/filter/mock_filter_context.cc b/net/filter/mock_filter_context.cc
|
| index 06905c0e070790be3cc532623f9c980d328cf4c5..5b2170725f54af466e5b9272961a202a22b0a53e 100644
|
| --- a/net/filter/mock_filter_context.cc
|
| +++ b/net/filter/mock_filter_context.cc
|
| @@ -10,7 +10,8 @@ MockFilterContext::MockFilterContext()
|
| : is_cached_content_(false),
|
| is_download_(false),
|
| is_sdch_response_(false),
|
| - response_code_(-1) {
|
| + response_code_(-1),
|
| + context_(NULL) {
|
| }
|
|
|
| MockFilterContext::~MockFilterContext() {}
|
| @@ -49,4 +50,8 @@ int64 MockFilterContext::GetByteReadCount() const { return 0; }
|
|
|
| int MockFilterContext::GetResponseCode() const { return response_code_; }
|
|
|
| +const URLRequestContext* MockFilterContext::GetURLRequestContext() const {
|
| + return context_;
|
| +}
|
| +
|
| } // namespace net
|
|
|