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

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

Issue 8944001: net: remove DNS certificate checking code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« 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 (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 "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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 template<> 363 template<>
364 CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool( 364 CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool(
365 HostResolver* host_resolver, 365 HostResolver* host_resolver,
366 CertVerifier* /* cert_verifier */) 366 CertVerifier* /* cert_verifier */)
367 : HttpProxyClientSocketPool(0, 0, NULL, host_resolver, NULL, NULL, NULL) {} 367 : HttpProxyClientSocketPool(0, 0, NULL, host_resolver, NULL, NULL, NULL) {}
368 368
369 template<> 369 template<>
370 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool( 370 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool(
371 HostResolver* host_resolver, 371 HostResolver* host_resolver,
372 CertVerifier* cert_verifier) 372 CertVerifier* cert_verifier)
373 : SSLClientSocketPool(0, 0, NULL, host_resolver, cert_verifier, NULL, NULL, 373 : SSLClientSocketPool(0, 0, NULL, host_resolver, cert_verifier, NULL,
374 NULL, NULL, "", NULL, NULL, NULL, NULL, NULL, NULL) {} 374 NULL, NULL, "", NULL, NULL, NULL, NULL, NULL, NULL) {}
375 375
376 //----------------------------------------------------------------------------- 376 //-----------------------------------------------------------------------------
377 377
378 // This is the expected return from a current server advertising SPDY. 378 // This is the expected return from a current server advertising SPDY.
379 static const char kAlternateProtocolHttpHeader[] = 379 static const char kAlternateProtocolHttpHeader[] =
380 "Alternate-Protocol: 443:npn-spdy/2\r\n\r\n"; 380 "Alternate-Protocol: 443:npn-spdy/2\r\n\r\n";
381 381
382 // Helper functions for validating that AuthChallengeInfo's are correctly 382 // Helper functions for validating that AuthChallengeInfo's are correctly
383 // configured for common cases. 383 // configured for common cases.
(...skipping 9463 matching lines...) Expand 10 before | Expand all | Expand 10 after
9847 session->spdy_session_pool()->HasSession(host_port_proxy_pair_b)); 9847 session->spdy_session_pool()->HasSession(host_port_proxy_pair_b));
9848 9848
9849 HttpStreamFactory::set_next_protos(std::vector<std::string>()); 9849 HttpStreamFactory::set_next_protos(std::vector<std::string>());
9850 ClientSocketPoolManager::set_max_sockets_per_pool(old_max_sockets_per_pool); 9850 ClientSocketPoolManager::set_max_sockets_per_pool(old_max_sockets_per_pool);
9851 ClientSocketPoolManager::set_max_sockets_per_proxy_server( 9851 ClientSocketPoolManager::set_max_sockets_per_proxy_server(
9852 old_max_sockets_per_proxy_server); 9852 old_max_sockets_per_proxy_server);
9853 ClientSocketPoolManager::set_max_sockets_per_group(old_max_sockets_per_group); 9853 ClientSocketPoolManager::set_max_sockets_per_group(old_max_sockets_per_group);
9854 } 9854 }
9855 9855
9856 } // namespace net 9856 } // 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