| OLD | NEW |
| 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 <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 template <typename ParentPool> | 711 template <typename ParentPool> |
| 712 CaptureGroupNameSocketPool<ParentPool>::CaptureGroupNameSocketPool( | 712 CaptureGroupNameSocketPool<ParentPool>::CaptureGroupNameSocketPool( |
| 713 HostResolver* host_resolver, | 713 HostResolver* host_resolver, |
| 714 CertVerifier* /* cert_verifier */) | 714 CertVerifier* /* cert_verifier */) |
| 715 : ParentPool(0, 0, host_resolver, NULL, NULL, NULL) {} | 715 : ParentPool(0, 0, host_resolver, NULL, NULL, NULL) {} |
| 716 | 716 |
| 717 template <> | 717 template <> |
| 718 CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool( | 718 CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool( |
| 719 HostResolver* /* host_resolver */, | 719 HostResolver* /* host_resolver */, |
| 720 CertVerifier* /* cert_verifier */) | 720 CertVerifier* /* cert_verifier */) |
| 721 : HttpProxyClientSocketPool(0, 0, NULL, NULL, NULL) { | 721 : HttpProxyClientSocketPool(0, 0, NULL, NULL, NULL, NULL) {} |
| 722 } | |
| 723 | 722 |
| 724 template <> | 723 template <> |
| 725 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool( | 724 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool( |
| 726 HostResolver* /* host_resolver */, | 725 HostResolver* /* host_resolver */, |
| 727 CertVerifier* cert_verifier) | 726 CertVerifier* cert_verifier) |
| 728 : SSLClientSocketPool(0, | 727 : SSLClientSocketPool(0, |
| 729 0, | 728 0, |
| 730 cert_verifier, | 729 cert_verifier, |
| 731 NULL, | 730 NULL, |
| 732 NULL, | 731 NULL, |
| (...skipping 16094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16827 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "gzip", | 16826 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "gzip", |
| 16828 "", false); | 16827 "", false); |
| 16829 } | 16828 } |
| 16830 | 16829 |
| 16831 TEST_F(HttpNetworkTransactionTest, MatchContentEncoding4) { | 16830 TEST_F(HttpNetworkTransactionTest, MatchContentEncoding4) { |
| 16832 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "gzip", | 16831 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "gzip", |
| 16833 "www.foo.com/other", true); | 16832 "www.foo.com/other", true); |
| 16834 } | 16833 } |
| 16835 | 16834 |
| 16836 } // namespace net | 16835 } // namespace net |
| OLD | NEW |