Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: net/websockets/websocket_handshake_handler_spdy_unittest.cc

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "googleurl/src/gurl.h"
10 #include "net/socket/next_proto.h" 9 #include "net/socket/next_proto.h"
11 #include "net/spdy/spdy_header_block.h" 10 #include "net/spdy/spdy_header_block.h"
12 #include "net/spdy/spdy_websocket_test_util.h" 11 #include "net/spdy/spdy_websocket_test_util.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "url/gurl.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 namespace { 17 namespace {
18 18
19 class WebSocketHandshakeHandlerSpdyTest 19 class WebSocketHandshakeHandlerSpdyTest
20 : public ::testing::Test, 20 : public ::testing::Test,
21 public ::testing::WithParamInterface<NextProto> { 21 public ::testing::WithParamInterface<NextProto> {
22 protected: 22 protected:
23 WebSocketHandshakeHandlerSpdyTest() : spdy_util_(GetParam()) {} 23 WebSocketHandshakeHandlerSpdyTest() : spdy_util_(GetParam()) {}
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "set-cookie: WK-websocket-test=1\r\n" 181 "set-cookie: WK-websocket-test=1\r\n"
182 "set-cookie: WK-websocket-test-httponly=1; HttpOnly\r\n" 182 "set-cookie: WK-websocket-test-httponly=1; HttpOnly\r\n"
183 "\r\n"; 183 "\r\n";
184 184
185 EXPECT_EQ(kHandshakeResponseExpectedMessage, response_handler.GetResponse()); 185 EXPECT_EQ(kHandshakeResponseExpectedMessage, response_handler.GetResponse());
186 } 186 }
187 187
188 } // namespace 188 } // namespace
189 189
190 } // namespace net 190 } // namespace net
OLDNEW
« no previous file with comments | « net/websockets/websocket_handshake_handler.cc ('k') | net/websockets/websocket_handshake_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698