| Index: net/websockets/websocket_net_log_params_unittest.cc
|
| diff --git a/net/websockets/websocket_net_log_params_unittest.cc b/net/websockets/websocket_net_log_params_unittest.cc
|
| index f6244428970011ab7083387c5939c0e2b87e4863..5ae937c8aa95054c6ec30043dfdc38a4cf8384e9 100644
|
| --- a/net/websockets/websocket_net_log_params_unittest.cc
|
| +++ b/net/websockets/websocket_net_log_params_unittest.cc
|
| @@ -13,16 +13,19 @@
|
|
|
| TEST(NetLogWebSocketHandshakeParameterTest, ToValue) {
|
| ListValue* list = new ListValue();
|
| - list->Append(new StringValue("GET /demo HTTP/1.1"));
|
| - list->Append(new StringValue("Host: example.com"));
|
| - list->Append(new StringValue("Connection: Upgrade"));
|
| - list->Append(new StringValue("Sec-WebSocket-Key2: 12998 5 Y3 1 .P00"));
|
| - list->Append(new StringValue("Sec-WebSocket-Protocol: sample"));
|
| - list->Append(new StringValue("Upgrade: WebSocket"));
|
| - list->Append(new StringValue("Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5"));
|
| - list->Append(new StringValue("Origin: http://example.com"));
|
| - list->Append(new StringValue(""));
|
| - list->Append(new StringValue("\\x00\\x01\\x0a\\x0d\\xff\\xfe\\x0d\\x0a"));
|
| + list->Append(base::StringValue::New("GET /demo HTTP/1.1"));
|
| + list->Append(base::StringValue::New("Host: example.com"));
|
| + list->Append(base::StringValue::New("Connection: Upgrade"));
|
| + list->Append(
|
| + base::StringValue::New("Sec-WebSocket-Key2: 12998 5 Y3 1 .P00"));
|
| + list->Append(base::StringValue::New("Sec-WebSocket-Protocol: sample"));
|
| + list->Append(base::StringValue::New("Upgrade: WebSocket"));
|
| + list->Append(
|
| + base::StringValue::New("Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5"));
|
| + list->Append(base::StringValue::New("Origin: http://example.com"));
|
| + list->Append(base::StringValue::New(""));
|
| + list->Append(
|
| + base::StringValue::New("\\x00\\x01\\x0a\\x0d\\xff\\xfe\\x0d\\x0a"));
|
|
|
| DictionaryValue expected;
|
| expected.Set("headers", list);
|
|
|