Index: third_party/mojo/src/mojo/edk/system/test_utils.h |
diff --git a/third_party/mojo/src/mojo/edk/system/test_utils.h b/third_party/mojo/src/mojo/edk/system/test_utils.h |
index b16c5166daa9dca2c99e1795bae9dd49342ca51d..fba9c68cb8d794ba45471a42a6db006241ea335d 100644 |
--- a/third_party/mojo/src/mojo/edk/system/test_utils.h |
+++ b/third_party/mojo/src/mojo/edk/system/test_utils.h |
@@ -7,6 +7,7 @@ |
#include "base/macros.h" |
#include "base/time/time.h" |
+#include "mojo/public/c/system/types.h" |
namespace mojo { |
namespace system { |
@@ -18,6 +19,14 @@ namespace test { |
// as possible without causing too much flakiness. |
base::TimeDelta EpsilonTimeout(); |
+// |TestTimeouts::tiny_timeout()|, as a |MojoDeadline|. (Expect this to be on |
+// the order of 100 ms.) |
+MojoDeadline TinyDeadline(); |
+ |
+// |TestTimeouts::action_timeout()|, as a |MojoDeadline|.(Expect this to be on |
+// the order of 10 s.) |
+MojoDeadline ActionDeadline(); |
+ |
// Stopwatch ------------------------------------------------------------------- |
// A simple "stopwatch" for measuring time elapsed from a given starting point. |