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

Unified Diff: runtime/bin/utils.h

Issue 13704003: Reapply "Add a sleep function to dart:io" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added "hide sleep" where needed Created 7 years, 8 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
Index: runtime/bin/utils.h
diff --git a/runtime/bin/utils.h b/runtime/bin/utils.h
index 470f26a3d20488a933271becf2676ca76259a28c..c0aab6b15464f7f359cb2d9f28ee452beb4a9dd9 100644
--- a/runtime/bin/utils.h
+++ b/runtime/bin/utils.h
@@ -82,6 +82,7 @@ class TimerUtils {
public:
static int64_t GetCurrentTimeMicros();
static int64_t GetCurrentTimeMilliseconds();
+ static void Sleep(int64_t millis);
};
#endif // BIN_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698