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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 HostResolver* host_resolver, | 576 HostResolver* host_resolver, |
577 CertVerifier* cert_verifier) | 577 CertVerifier* cert_verifier) |
578 : SSLClientSocketPool(0, | 578 : SSLClientSocketPool(0, |
579 0, | 579 0, |
580 NULL, | 580 NULL, |
581 host_resolver, | 581 host_resolver, |
582 cert_verifier, | 582 cert_verifier, |
583 NULL, | 583 NULL, |
584 NULL, | 584 NULL, |
585 NULL, | 585 NULL, |
| 586 NULL, |
586 std::string(), | 587 std::string(), |
587 NULL, | 588 NULL, |
588 NULL, | 589 NULL, |
589 NULL, | 590 NULL, |
590 NULL, | 591 NULL, |
591 NULL, | 592 NULL, |
592 false, | 593 false, |
593 NULL) { | 594 NULL) { |
594 } | 595 } |
595 | 596 |
(...skipping 12588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13184 EXPECT_EQ(ERR_IO_PENDING, rv); | 13185 EXPECT_EQ(ERR_IO_PENDING, rv); |
13185 | 13186 |
13186 rv = callback.WaitForResult(); | 13187 rv = callback.WaitForResult(); |
13187 EXPECT_EQ(ERR_CONNECTION_RESET, rv); | 13188 EXPECT_EQ(ERR_CONNECTION_RESET, rv); |
13188 | 13189 |
13189 const HttpResponseInfo* response = trans->GetResponseInfo(); | 13190 const HttpResponseInfo* response = trans->GetResponseInfo(); |
13190 EXPECT_TRUE(response == NULL); | 13191 EXPECT_TRUE(response == NULL); |
13191 } | 13192 } |
13192 | 13193 |
13193 } // namespace net | 13194 } // namespace net |
OLD | NEW |