diff options
Diffstat (limited to 'net/base/run_all_unittests.cc')
-rw-r--r-- | net/base/run_all_unittests.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/base/run_all_unittests.cc b/net/base/run_all_unittests.cc index 7acfa54..f5c1419b 100644 --- a/net/base/run_all_unittests.cc +++ b/net/base/run_all_unittests.cc @@ -29,7 +29,6 @@ #include "base/message_loop.h" #include "base/test_suite.h" -#include "base/timer.h" class NetTestSuite : public TestSuite { public: @@ -40,13 +39,6 @@ class NetTestSuite : public TestSuite { TestSuite::Initialize(); message_loop_.reset(new MessageLoopForIO()); - - // TODO(darin): Remove this god awful, son of a wart toad hack. This timer - // keeps the MessageLoop pumping, which avoids a hang on Vista. The real - // fix lies elsewhere, but this is a stop-gap to keep the tests running on - // Vista in the meantime. - keep_looping_.Start( - TimeDelta::FromMilliseconds(100), this, &NetTestSuite::DoNothing); } virtual void Shutdown() { @@ -58,10 +50,7 @@ class NetTestSuite : public TestSuite { } private: - void DoNothing() {} - scoped_ptr<MessageLoop> message_loop_; - base::RepeatingTimer<NetTestSuite> keep_looping_; }; int main(int argc, char** argv) { |