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

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

Issue 2899313006: Plumb NQP to context and to http_proxy_client_socket_pool (Closed)
Patch Set: fix compile error Created 3 years, 6 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.h » ('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 <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 template <typename ParentPool> 726 template <typename ParentPool>
727 CaptureGroupNameSocketPool<ParentPool>::CaptureGroupNameSocketPool( 727 CaptureGroupNameSocketPool<ParentPool>::CaptureGroupNameSocketPool(
728 HostResolver* host_resolver, 728 HostResolver* host_resolver,
729 CertVerifier* /* cert_verifier */) 729 CertVerifier* /* cert_verifier */)
730 : ParentPool(0, 0, host_resolver, NULL, NULL, NULL) {} 730 : ParentPool(0, 0, host_resolver, NULL, NULL, NULL) {}
731 731
732 template <> 732 template <>
733 CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool( 733 CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool(
734 HostResolver* /* host_resolver */, 734 HostResolver* /* host_resolver */,
735 CertVerifier* /* cert_verifier */) 735 CertVerifier* /* cert_verifier */)
736 : HttpProxyClientSocketPool(0, 0, NULL, NULL, NULL) { 736 : HttpProxyClientSocketPool(0, 0, NULL, NULL, NULL, NULL) {}
737 }
738 737
739 template <> 738 template <>
740 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool( 739 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool(
741 HostResolver* /* host_resolver */, 740 HostResolver* /* host_resolver */,
742 CertVerifier* cert_verifier) 741 CertVerifier* cert_verifier)
743 : SSLClientSocketPool(0, 742 : SSLClientSocketPool(0,
744 0, 743 0,
745 cert_verifier, 744 cert_verifier,
746 NULL, 745 NULL,
747 NULL, 746 NULL,
(...skipping 16164 matching lines...) Expand 10 before | Expand all | Expand 10 after
16912 16911
16913 TestCompletionCallback callback; 16912 TestCompletionCallback callback;
16914 HttpNetworkTransaction trans(DEFAULT_PRIORITY, session.get()); 16913 HttpNetworkTransaction trans(DEFAULT_PRIORITY, session.get());
16915 int rv = trans.Start(&request, callback.callback(), NetLogWithSource()); 16914 int rv = trans.Start(&request, callback.callback(), NetLogWithSource());
16916 EXPECT_THAT(rv, IsError(ERR_IO_PENDING)); 16915 EXPECT_THAT(rv, IsError(ERR_IO_PENDING));
16917 16916
16918 EXPECT_THAT(callback.WaitForResult(), IsError(ERR_NO_SUPPORTED_PROXIES)); 16917 EXPECT_THAT(callback.WaitForResult(), IsError(ERR_NO_SUPPORTED_PROXIES));
16919 } 16918 }
16920 16919
16921 } // namespace net 16920 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_proxy_client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698