diff options
Diffstat (limited to 'net/http/http_transaction_unittest.cc')
-rw-r--r-- | net/http/http_transaction_unittest.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_transaction_unittest.cc b/net/http/http_transaction_unittest.cc index 9aa81cf..e161eca 100644 --- a/net/http/http_transaction_unittest.cc +++ b/net/http/http_transaction_unittest.cc @@ -228,6 +228,7 @@ MockNetworkTransaction::MockNetworkTransaction( : weak_factory_(this), data_cursor_(0), priority_(priority), + websocket_handshake_stream_create_helper_(NULL), transaction_factory_(factory->AsWeakPtr()), socket_log_id_(net::NetLog::Source::kInvalidId) { } @@ -375,6 +376,11 @@ void MockNetworkTransaction::SetPriority(net::RequestPriority priority) { priority_ = priority; } +void MockNetworkTransaction::SetWebSocketHandshakeStreamCreateHelper( + net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) { + websocket_handshake_stream_create_helper_ = create_helper; +} + void MockNetworkTransaction::CallbackLater( const net::CompletionCallback& callback, int result) { base::MessageLoop::current()->PostTask( |