| Index: net/http/failing_http_transaction_factory.cc
|
| diff --git a/net/http/failing_http_transaction_factory.cc b/net/http/failing_http_transaction_factory.cc
|
| index b871576712411168c01eef857500a712ef96c82f..07023f205fb52f6c62c586201136a52089b8e5ff 100644
|
| --- a/net/http/failing_http_transaction_factory.cc
|
| +++ b/net/http/failing_http_transaction_factory.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/message_loop/message_loop.h"
|
| #include "net/base/load_timing_info.h"
|
| #include "net/base/upload_progress.h"
|
| +#include "net/http/http_response_info.h"
|
| #include "net/socket/connection_attempts.h"
|
|
|
| namespace net {
|
| @@ -20,8 +21,6 @@ class HttpRequestHeaders;
|
| class IOBuffer;
|
| class X509Certificate;
|
|
|
| -struct HttpRequestInfo;
|
| -
|
| namespace {
|
|
|
| // A simple class to interpose between the cache and network http layers.
|
| @@ -66,6 +65,7 @@ class FailingHttpTransaction : public HttpTransaction {
|
|
|
| private:
|
| Error error_;
|
| + HttpResponseInfo response_;
|
| };
|
|
|
| FailingHttpTransaction::FailingHttpTransaction(Error error) : error_(error) {
|
| @@ -125,7 +125,7 @@ void FailingHttpTransaction::DoneReading() {
|
| }
|
|
|
| const HttpResponseInfo* FailingHttpTransaction::GetResponseInfo() const {
|
| - return NULL;
|
| + return &response_;
|
| }
|
|
|
| LoadState FailingHttpTransaction::GetLoadState() const {
|
|
|