Index: net/http/http_transaction_test_util.h |
diff --git a/net/http/http_transaction_test_util.h b/net/http/http_transaction_test_util.h |
index 7744909c871681cd759aa0d8f5d582ae85e8c23b..7e6b54ed9888471113f3fea190d4357cafbba98d 100644 |
--- a/net/http/http_transaction_test_util.h |
+++ b/net/http/http_transaction_test_util.h |
@@ -320,6 +320,8 @@ class MockNetworkLayer : public HttpTransactionFactory, |
// The current time (will use clock_ if it is non NULL). |
base::Time Now(); |
+ void set_network_session(HttpNetworkSession* session) { session_ = session; } |
xunjieli
2015/12/02 18:26:31
I don't think we want to do this, see the comment
eustas
2015/12/03 12:32:07
Acknowledged.
|
+ |
private: |
int transaction_count_; |
bool done_reading_called_; |
@@ -331,6 +333,8 @@ class MockNetworkLayer : public HttpTransactionFactory, |
base::Clock* clock_; |
base::WeakPtr<MockNetworkTransaction> last_transaction_; |
+ |
+ HttpNetworkSession* session_; |
}; |
//----------------------------------------------------------------------------- |