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

Unified Diff: net/test/net_test_suite.cc

Issue 2140733002: Remove HttpStreamFactory::spdy_enabled_ static member and accessors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 | « net/spdy/spdy_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/net_test_suite.cc
diff --git a/net/test/net_test_suite.cc b/net/test/net_test_suite.cc
index 8b0942b9303bbed39f378c6e6d79300446f4868e..d6eba562ba754797d76e26e1943962c6cb47d6ac 100644
--- a/net/test/net_test_suite.cc
+++ b/net/test/net_test_suite.cc
@@ -14,12 +14,6 @@
#include "net/cert_net/nss_ocsp.h"
#endif
-class StaticReset : public ::testing::EmptyTestEventListener {
- void OnTestStart(const ::testing::TestInfo& test_info) override {
- net::HttpStreamFactory::ResetStaticSettingsToInit();
- }
-};
-
NetTestSuite::NetTestSuite(int argc, char** argv)
: TestSuite(argc, argv) {
}
@@ -28,7 +22,6 @@ NetTestSuite::~NetTestSuite() {}
void NetTestSuite::Initialize() {
TestSuite::Initialize();
- ::testing::UnitTest::GetInstance()->listeners().Append(new StaticReset());
InitializeTestThread();
}
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698