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

Unified Diff: net/http/failing_http_transaction_factory.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/failing_http_transaction_factory.cc
diff --git a/net/http/failing_http_transaction_factory.cc b/net/http/failing_http_transaction_factory.cc
index a190597e369814f6d6a2635bcbd5e79b8dea23a1..b871576712411168c01eef857500a712ef96c82f 100644
--- a/net/http/failing_http_transaction_factory.cc
+++ b/net/http/failing_http_transaction_factory.cc
@@ -10,6 +10,7 @@
#include "base/message_loop/message_loop.h"
#include "net/base/load_timing_info.h"
#include "net/base/upload_progress.h"
+#include "net/socket/connection_attempts.h"
namespace net {
@@ -61,6 +62,7 @@ class FailingHttpTransaction : public HttpTransaction {
void SetBeforeProxyHeadersSentCallback(
const BeforeProxyHeadersSentCallback& callback) override;
int ResumeNetworkStart() override;
+ void GetConnectionAttempts(ConnectionAttempts* out) const override;
private:
Error error_;
@@ -163,6 +165,11 @@ int FailingHttpTransaction::ResumeNetworkStart() {
return ERR_FAILED;
}
+void FailingHttpTransaction::GetConnectionAttempts(
+ ConnectionAttempts* out) const {
+ NOTIMPLEMENTED();
+}
+
} // namespace
FailingHttpTransactionFactory::FailingHttpTransactionFactory(
« no previous file with comments | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698