| Index: net/http/http_transaction_unittest.h
|
| diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h
|
| index 407fc9fff9a1587558f5c48165461345db5b6c33..3d6bb0287fbc7e99e3a08e13d3deac27a6d37ebe 100644
|
| --- a/net/http/http_transaction_unittest.h
|
| +++ b/net/http/http_transaction_unittest.h
|
| @@ -162,6 +162,7 @@ class MockNetworkLayer;
|
| class MockNetworkTransaction
|
| : public net::HttpTransaction,
|
| public base::SupportsWeakPtr<MockNetworkTransaction> {
|
| + typedef net::WebSocketHandshakeStreamBase::CreateHelper CreateHelper;
|
| public:
|
| MockNetworkTransaction(net::RequestPriority priority,
|
| MockNetworkLayer* factory);
|
| @@ -205,6 +206,12 @@ class MockNetworkTransaction
|
|
|
| virtual void SetPriority(net::RequestPriority priority) OVERRIDE;
|
|
|
| + virtual void SetWebSocketHandshakeStreamCreateHelper(
|
| + CreateHelper* create_helper) OVERRIDE;
|
| +
|
| + CreateHelper* websocket_handshake_stream_create_helper() {
|
| + return websocket_handshake_stream_create_helper_;
|
| + }
|
| net::RequestPriority priority() const { return priority_; }
|
|
|
| private:
|
| @@ -217,6 +224,7 @@ class MockNetworkTransaction
|
| int data_cursor_;
|
| int test_mode_;
|
| net::RequestPriority priority_;
|
| + CreateHelper* websocket_handshake_stream_create_helper_;
|
| base::WeakPtr<MockNetworkLayer> transaction_factory_;
|
|
|
| // NetLog ID of the fake / non-existent underlying socket used by the
|
|
|