Index: mojo/edk/system/test_utils.h |
diff --git a/mojo/edk/system/test_utils.h b/mojo/edk/system/test_utils.h |
index b8dee6685e23cb91eaf8c51619fb7094bfcd1fb2..b16c5166daa9dca2c99e1795bae9dd49342ca51d 100644 |
--- a/mojo/edk/system/test_utils.h |
+++ b/mojo/edk/system/test_utils.h |
@@ -5,28 +5,13 @@ |
#ifndef MOJO_EDK_SYSTEM_TEST_UTILS_H_ |
#define MOJO_EDK_SYSTEM_TEST_UTILS_H_ |
-#include "base/callback_forward.h" |
#include "base/macros.h" |
-#include "base/memory/ref_counted.h" |
-#include "base/task_runner.h" |
-#include "base/threading/thread.h" |
#include "base/time/time.h" |
-namespace tracked_objects { |
-class Location; |
-} |
- |
namespace mojo { |
namespace system { |
namespace test { |
-// Posts the given task (to the given task runner) and waits for it to complete. |
-// (Note: Doesn't spin the current thread's message loop, so if you're careless |
-// this could easily deadlock.) |
-void PostTaskAndWait(scoped_refptr<base::TaskRunner> task_runner, |
- const tracked_objects::Location& from_here, |
- const base::Closure& task); |
- |
// A timeout smaller than |TestTimeouts::tiny_timeout()|. Warning: This may lead |
// to flakiness, but this is unavoidable if, e.g., you're trying to ensure that |
// functions with timeouts are reasonably accurate. We want this to be as small |