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

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

Issue 3805: autorelease message pumps (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « base/sys_info_unittest.cc ('k') | net/http/http_network_transaction_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) 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
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
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
OLDNEW
« no previous file with comments | « base/sys_info_unittest.cc ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698