| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/websockets/websocket_handshake_handler.h" | 5 #include "net/websockets/websocket_handshake_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "net/socket/next_proto.h" | 9 #include "net/socket/next_proto.h" |
| 10 #include "net/spdy/spdy_header_block.h" | 10 #include "net/spdy/spdy_header_block.h" |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 "set-cookie: WK-websocket-test=1\r\n" | 182 "set-cookie: WK-websocket-test=1\r\n" |
| 183 "set-cookie: WK-websocket-test-httponly=1; HttpOnly\r\n" | 183 "set-cookie: WK-websocket-test-httponly=1; HttpOnly\r\n" |
| 184 "\r\n"; | 184 "\r\n"; |
| 185 | 185 |
| 186 EXPECT_EQ(kHandshakeResponseExpectedMessage, response_handler.GetResponse()); | 186 EXPECT_EQ(kHandshakeResponseExpectedMessage, response_handler.GetResponse()); |
| 187 } | 187 } |
| 188 | 188 |
| 189 } // namespace | 189 } // namespace |
| 190 | 190 |
| 191 } // namespace net | 191 } // namespace net |
| OLD | NEW |