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

Side by Side Diff: net/http/http_transaction.h

Issue 1006643002: Plumb connection attempts from (non-proxy) ConnectJobs to HttpNetworkTransaction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, resolve conflict Created 5 years, 8 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_stream_factory_impl_request.cc ('k') | net/http/http_transaction_test_util.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef NET_HTTP_HTTP_TRANSACTION_H_ 5 #ifndef NET_HTTP_HTTP_TRANSACTION_H_
6 #define NET_HTTP_HTTP_TRANSACTION_H_ 6 #define NET_HTTP_HTTP_TRANSACTION_H_
7 7
8 #include "net/base/completion_callback.h" 8 #include "net/base/completion_callback.h"
9 #include "net/base/load_states.h" 9 #include "net/base/load_states.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "net/base/request_priority.h" 11 #include "net/base/request_priority.h"
12 #include "net/base/upload_progress.h" 12 #include "net/base/upload_progress.h"
13 #include "net/socket/connection_attempts.h"
13 #include "net/websockets/websocket_handshake_stream_base.h" 14 #include "net/websockets/websocket_handshake_stream_base.h"
14 15
15 namespace net { 16 namespace net {
16 17
17 class AuthCredentials; 18 class AuthCredentials;
18 class BoundNetLog; 19 class BoundNetLog;
19 class HttpRequestHeaders; 20 class HttpRequestHeaders;
20 struct HttpRequestInfo; 21 struct HttpRequestInfo;
21 class HttpResponseInfo; 22 class HttpResponseInfo;
22 class IOBuffer; 23 class IOBuffer;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual void SetBeforeNetworkStartCallback( 168 virtual void SetBeforeNetworkStartCallback(
168 const BeforeNetworkStartCallback& callback) = 0; 169 const BeforeNetworkStartCallback& callback) = 0;
169 170
170 // Set the callback to receive notification just before a proxy request 171 // Set the callback to receive notification just before a proxy request
171 // is to be sent. 172 // is to be sent.
172 virtual void SetBeforeProxyHeadersSentCallback( 173 virtual void SetBeforeProxyHeadersSentCallback(
173 const BeforeProxyHeadersSentCallback& callback) = 0; 174 const BeforeProxyHeadersSentCallback& callback) = 0;
174 175
175 // Resumes the transaction after being deferred. 176 // Resumes the transaction after being deferred.
176 virtual int ResumeNetworkStart() = 0; 177 virtual int ResumeNetworkStart() = 0;
178
179 virtual void GetConnectionAttempts(ConnectionAttempts* out) const = 0;
177 }; 180 };
178 181
179 } // namespace net 182 } // namespace net
180 183
181 #endif // NET_HTTP_HTTP_TRANSACTION_H_ 184 #endif // NET_HTTP_HTTP_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl_request.cc ('k') | net/http/http_transaction_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698