OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/trace_event.h" | 9 #include "base/trace_event.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 // - authentication | 24 // - authentication |
25 // - proxies (need to call ReconsiderProxyAfterError and handle SSL tunnel) | 25 // - proxies (need to call ReconsiderProxyAfterError and handle SSL tunnel) |
26 // - ssl | 26 // - ssl |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
30 //----------------------------------------------------------------------------- | 30 //----------------------------------------------------------------------------- |
31 | 31 |
32 HttpNetworkTransaction::HttpNetworkTransaction(HttpNetworkSession* session, | 32 HttpNetworkTransaction::HttpNetworkTransaction(HttpNetworkSession* session, |
33 ClientSocketFactory* csf) | 33 ClientSocketFactory* csf) |
34 MSVC_SUPPRESS_WARNING(4355) | |
35 : ALLOW_THIS_IN_INITIALIZER_LIST( | 34 : ALLOW_THIS_IN_INITIALIZER_LIST( |
36 io_callback_(this, &HttpNetworkTransaction::OnIOComplete)), | 35 io_callback_(this, &HttpNetworkTransaction::OnIOComplete)), |
37 user_callback_(NULL), | 36 user_callback_(NULL), |
38 session_(session), | 37 session_(session), |
39 request_(NULL), | 38 request_(NULL), |
40 pac_request_(NULL), | 39 pac_request_(NULL), |
41 socket_factory_(csf), | 40 socket_factory_(csf), |
42 connection_(session->connection_pool()), | 41 connection_(session->connection_pool()), |
43 reused_socket_(false), | 42 reused_socket_(false), |
44 using_ssl_(false), | 43 using_ssl_(false), |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 next_state_ = STATE_INIT_CONNECTION; // Resend the request. | 859 next_state_ = STATE_INIT_CONNECTION; // Resend the request. |
861 error = OK; | 860 error = OK; |
862 } | 861 } |
863 break; | 862 break; |
864 } | 863 } |
865 return error; | 864 return error; |
866 } | 865 } |
867 | 866 |
868 } // namespace net | 867 } // namespace net |
869 | 868 |
OLD | NEW |