Index: mojo/edk/system/test_utils.cc |
diff --git a/mojo/edk/system/test_utils.cc b/mojo/edk/system/test_utils.cc |
index 420b08480d547996a8e4529234c6927074294c47..d43a8188dfcec9ba97c5476488d73cf35620904c 100644 |
--- a/mojo/edk/system/test_utils.cc |
+++ b/mojo/edk/system/test_utils.cc |
@@ -4,9 +4,6 @@ |
#include "mojo/edk/system/test_utils.h" |
-#include "base/bind.h" |
-#include "base/callback.h" |
-#include "base/synchronization/waitable_event.h" |
#include "base/test/test_timeouts.h" |
#include "build/build_config.h" |
@@ -14,25 +11,6 @@ namespace mojo { |
namespace system { |
namespace test { |
-namespace { |
- |
-void PostTaskAndWaitHelper(base::WaitableEvent* event, |
- const base::Closure& task) { |
- task.Run(); |
- event->Signal(); |
-} |
- |
-} // namespace |
- |
-void PostTaskAndWait(scoped_refptr<base::TaskRunner> task_runner, |
- const tracked_objects::Location& from_here, |
- const base::Closure& task) { |
- base::WaitableEvent event(false, false); |
- task_runner->PostTask(from_here, |
- base::Bind(&PostTaskAndWaitHelper, &event, task)); |
- event.Wait(); |
-} |
- |
base::TimeDelta EpsilonTimeout() { |
// Originally, our epsilon timeout was 10 ms, which was mostly fine but flaky on |
// some Windows bots. I don't recall ever seeing flakes on other bots. At 30 ms |