| Index: net/websockets/websocket_test_util.h
|
| diff --git a/net/websockets/websocket_test_util.h b/net/websockets/websocket_test_util.h
|
| index becaba8d7ee938ba79e9e081947c989297a80c2c..6944cba589d4e484e3651dfa9cf227401010e7bb 100644
|
| --- a/net/websockets/websocket_test_util.h
|
| +++ b/net/websockets/websocket_test_util.h
|
| @@ -45,10 +45,12 @@ class LinearCongruentialGenerator {
|
| // Generates a standard WebSocket handshake request. The challenge key used is
|
| // "dGhlIHNhbXBsZSBub25jZQ==". Each header in |extra_headers| must be terminated
|
| // with "\r\n".
|
| -std::string WebSocketStandardRequest(const std::string& path,
|
| - const std::string& host,
|
| - const url::Origin& origin,
|
| - const std::string& extra_headers);
|
| +std::string WebSocketStandardRequest(
|
| + const std::string& path,
|
| + const std::string& host,
|
| + const url::Origin& origin,
|
| + const std::string& send_additional_request_headers,
|
| + const std::string& extra_headers);
|
|
|
| // Generates a standard WebSocket handshake request. The challenge key used is
|
| // "dGhlIHNhbXBsZSBub25jZQ==". |cookies| must be empty or terminated with
|
| @@ -58,6 +60,7 @@ std::string WebSocketStandardRequestWithCookies(
|
| const std::string& host,
|
| const url::Origin& origin,
|
| const std::string& cookies,
|
| + const std::string& send_additional_request_headers,
|
| const std::string& extra_headers);
|
|
|
| // A response with the appropriate accept header to match the above challenge
|
|
|