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

Side by Side Diff: net/spdy/spdy_network_transaction_unittest.cc

Issue 6248021: Reapply r72562 with willchan's nits + locally tested shlib fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix path Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "net/base/auth.h" 8 #include "net/base/auth.h"
9 #include "net/base/net_log_unittest.h" 9 #include "net/base/net_log_unittest.h"
10 #include "net/http/http_network_session_peer.h" 10 #include "net/http/http_network_session_peer.h"
11 #include "net/http/http_transaction_unittest.h" 11 #include "net/http/http_transaction_unittest.h"
12 #include "net/spdy/spdy_http_stream.h" 12 #include "net/spdy/spdy_http_stream.h"
13 #include "net/spdy/spdy_session.h" 13 #include "net/spdy/spdy_session.h"
14 #include "net/spdy/spdy_session_pool.h" 14 #include "net/spdy/spdy_session_pool.h"
15 #include "net/spdy/spdy_test_util.h" 15 #include "net/spdy/spdy_test_util.h"
16 #include "net/url_request/url_request_unittest.h" 16 #include "net/url_request/url_request_test_util.h"
17 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
18 18
19 //----------------------------------------------------------------------------- 19 //-----------------------------------------------------------------------------
20 20
21 namespace net { 21 namespace net {
22 22
23 // This is the expected list of advertised protocols from the browser's NPN 23 // This is the expected list of advertised protocols from the browser's NPN
24 // list. 24 // list.
25 static const char kExpectedNPNString[] = "\x08http/1.1\x06spdy/2"; 25 static const char kExpectedNPNString[] = "\x08http/1.1\x06spdy/2";
26 26
(...skipping 5379 matching lines...) Expand 10 before | Expand all | Expand 10 after
5406 5406
5407 VerifyStreamsClosed(helper); 5407 VerifyStreamsClosed(helper);
5408 5408
5409 // Verify the SYN_REPLY. 5409 // Verify the SYN_REPLY.
5410 EXPECT_TRUE(response.headers != NULL); 5410 EXPECT_TRUE(response.headers != NULL);
5411 EXPECT_EQ("HTTP/1.1 200 OK", response.headers->GetStatusLine()); 5411 EXPECT_EQ("HTTP/1.1 200 OK", response.headers->GetStatusLine());
5412 } 5412 }
5413 } 5413 }
5414 5414
5415 } // namespace net 5415 } // namespace net
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream_unittest.cc ('k') | net/url_request/url_request_job_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698