| Index: net/http/http_network_transaction.h
|
| diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
|
| index b3c4c47c3cf3e2495681ec75d7b89e6cf3094c42..7390e0a0d3fcd094d67cd6c8b0a7191a6b063048 100644
|
| --- a/net/http/http_network_transaction.h
|
| +++ b/net/http/http_network_transaction.h
|
| @@ -28,6 +28,7 @@ class HttpAuthController;
|
| class HttpNetworkSession;
|
| class HttpStream;
|
| class HttpStreamRequest;
|
| +class HttpTransactionDelegate;
|
| class IOBuffer;
|
| class UploadDataStream;
|
| struct HttpRequestInfo;
|
| @@ -83,6 +84,10 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
|
| const ProxyInfo& used_proxy_info,
|
| HttpStream* stream) OVERRIDE;
|
|
|
| + void set_delegate(HttpTransactionDelegate* delegate) {
|
| + delegate_ = delegate;
|
| + }
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy2Test,
|
| ResetStateForRestart);
|
| @@ -294,6 +299,8 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
|
| // read from the socket until the tunnel is done.
|
| bool establishing_tunnel_;
|
|
|
| + HttpTransactionDelegate* delegate_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
|
| };
|
|
|
|
|