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

Side by Side Diff: net/http/http_network_transaction_unittest.cc

Issue 981723008: Unwind the SSL connection holdback experiment and remove related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename & reformat Created 5 years, 9 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
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_proxy_client_socket_pool_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/http/http_network_transaction.h" 5 #include "net/http/http_network_transaction.h"
6 6
7 #include <math.h> // ceil 7 #include <math.h> // ceil
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 NULL, 594 NULL,
595 NULL, 595 NULL,
596 NULL, 596 NULL,
597 NULL, 597 NULL,
598 std::string(), 598 std::string(),
599 NULL, 599 NULL,
600 NULL, 600 NULL,
601 NULL, 601 NULL,
602 NULL, 602 NULL,
603 NULL, 603 NULL,
604 false,
605 NULL) { 604 NULL) {
606 } 605 }
607 606
608 //----------------------------------------------------------------------------- 607 //-----------------------------------------------------------------------------
609 608
610 // Helper functions for validating that AuthChallengeInfo's are correctly 609 // Helper functions for validating that AuthChallengeInfo's are correctly
611 // configured for common cases. 610 // configured for common cases.
612 bool CheckBasicServerAuth(const AuthChallengeInfo* auth_challenge) { 611 bool CheckBasicServerAuth(const AuthChallengeInfo* auth_challenge) {
613 if (!auth_challenge) 612 if (!auth_challenge)
614 return false; 613 return false;
(...skipping 13167 matching lines...) Expand 10 before | Expand all | Expand 10 after
13782 ASSERT_TRUE(response); 13781 ASSERT_TRUE(response);
13783 ASSERT_TRUE(response->headers.get()); 13782 ASSERT_TRUE(response->headers.get());
13784 13783
13785 EXPECT_EQ(101, response->headers->response_code()); 13784 EXPECT_EQ(101, response->headers->response_code());
13786 13785
13787 trans.reset(); 13786 trans.reset();
13788 session->CloseAllConnections(); 13787 session->CloseAllConnections();
13789 } 13788 }
13790 13789
13791 } // namespace net 13790 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_proxy_client_socket_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698