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

Unified Diff: third_party/mojo/src/mojo/edk/system/test_utils.cc

Issue 975973002: Update mojo sdk to rev f68e697e389943cd9bf9652397312280e96b127a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shake fist at msvc Created 5 years, 10 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 | « third_party/mojo/src/mojo/edk/system/test_utils.h ('k') | third_party/mojo/src/mojo/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/edk/system/test_utils.cc
diff --git a/third_party/mojo/src/mojo/edk/system/test_utils.cc b/third_party/mojo/src/mojo/edk/system/test_utils.cc
index d43a8188dfcec9ba97c5476488d73cf35620904c..d7947813a8cfff26100637eab271a9b444683325 100644
--- a/third_party/mojo/src/mojo/edk/system/test_utils.cc
+++ b/third_party/mojo/src/mojo/edk/system/test_utils.cc
@@ -27,6 +27,16 @@ base::TimeDelta EpsilonTimeout() {
#endif
}
+MojoDeadline TinyDeadline() {
+ return static_cast<MojoDeadline>(
+ TestTimeouts::tiny_timeout().InMicroseconds());
+}
+
+MojoDeadline ActionDeadline() {
+ return static_cast<MojoDeadline>(
+ TestTimeouts::action_timeout().InMicroseconds());
+}
+
} // namespace test
} // namespace system
} // namespace mojo
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/test_utils.h ('k') | third_party/mojo/src/mojo/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698