| Index: net/http/http_transaction_test_util.cc
|
| diff --git a/net/http/http_transaction_test_util.cc b/net/http/http_transaction_test_util.cc
|
| index a5b57461df5a2e49568fa045bc285f9d01e006bc..0c422c82505e9c186e84800496ecae4843e7feb7 100644
|
| --- a/net/http/http_transaction_test_util.cc
|
| +++ b/net/http/http_transaction_test_util.cc
|
| @@ -5,8 +5,10 @@
|
| #include "net/http/http_transaction_test_util.h"
|
|
|
| #include <algorithm>
|
| +#include <memory>
|
| #include <unordered_map>
|
| #include <utility>
|
| +#include <vector>
|
|
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| @@ -34,6 +36,7 @@
|
| namespace net {
|
|
|
| namespace {
|
| +
|
| using MockTransactionMap =
|
| std::unordered_map<std::string, const MockTransaction*>;
|
| static MockTransactionMap mock_transactions;
|
| @@ -149,6 +152,9 @@ MockHttpRequest::MockHttpRequest(const MockTransaction& t) {
|
| load_flags = t.load_flags;
|
| }
|
|
|
| +Context::Context() : result(ERR_IO_PENDING) {}
|
| +Context::~Context() {}
|
| +
|
| //-----------------------------------------------------------------------------
|
|
|
| // static
|
| @@ -488,7 +494,7 @@ int MockNetworkTransaction::ResumeNetworkStart() {
|
|
|
| void MockNetworkTransaction::GetConnectionAttempts(
|
| ConnectionAttempts* out) const {
|
| - NOTIMPLEMENTED();
|
| + return;
|
| }
|
|
|
| void MockNetworkTransaction::CallbackLater(const CompletionCallback& callback,
|
|
|