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

Unified Diff: net/http/http_cache_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: Make a couple of codereview changes 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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_cache_transaction.h
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h
index d9d99e35422eaf16b6deb3f4f2595ced5001abbb..cbf092907a99869813309f9590b7bfae8c6a2cbc 100644
--- a/net/http/http_cache_transaction.h
+++ b/net/http/http_cache_transaction.h
@@ -19,6 +19,7 @@
#include "net/http/http_response_info.h"
#include "net/http/http_transaction.h"
#include "net/log/net_log.h"
+#include "net/socket/connection_attempts.h"
namespace net {
@@ -144,6 +145,7 @@ class HttpCache::Transaction : public HttpTransaction {
void SetBeforeProxyHeadersSentCallback(
const BeforeProxyHeadersSentCallback& callback) override;
int ResumeNetworkStart() override;
+ void GetConnectionAttempts(ConnectionAttempts* out) const override;
private:
static const size_t kNumValidationHeaders = 2;
@@ -470,6 +472,8 @@ class HttpCache::Transaction : public HttpTransaction {
// before the caller requests load timing information.
scoped_ptr<LoadTimingInfo> old_network_trans_load_timing_;
+ ConnectionAttempts old_connection_attempts_;
+
// The helper object to use to create WebSocketHandshakeStreamBase
// objects. Only relevant when establishing a WebSocket connection.
// This is passed to the underlying network transaction. It is stored here in

Powered by Google App Engine
This is Rietveld 408576698