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

Unified Diff: third_party/WebKit/Source/wtf/CurrentTime.h

Issue 2386843002: reflow comments in wtf (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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: third_party/WebKit/Source/wtf/CurrentTime.h
diff --git a/third_party/WebKit/Source/wtf/CurrentTime.h b/third_party/WebKit/Source/wtf/CurrentTime.h
index c8ca55c743abede47e38ed46c3ac9918497cbe94..97c55191083d10f68c7f61da66f14dfe9f4c568e 100644
--- a/third_party/WebKit/Source/wtf/CurrentTime.h
+++ b/third_party/WebKit/Source/wtf/CurrentTime.h
@@ -46,8 +46,9 @@ inline double currentTimeMS() {
return currentTime() * 1000.0;
}
-// Provides a monotonically increasing time in seconds since an arbitrary point in the past.
-// On unsupported platforms, this function only guarantees the result will be non-decreasing.
+// Provides a monotonically increasing time in seconds since an arbitrary point
+// in the past. On unsupported platforms, this function only guarantees the
+// result will be non-decreasing.
WTF_EXPORT double monotonicallyIncreasingTime();
// Same thing, in milliseconds.
@@ -57,9 +58,10 @@ inline double monotonicallyIncreasingTimeMS() {
using TimeFunction = double (*)();
-// Make all the time functions (currentTime(), monotonicallyIncreasingTime(), systemTraceTime()) return the result
-// of the supplied function. Returns the pointer to the old time function. For both setting and getting, nullptr means
-// using the default timing function returning the actual time.
+// Make all the time functions (currentTime(), monotonicallyIncreasingTime(),
+// systemTraceTime()) return the result of the supplied function. Returns the
+// pointer to the old time function. For both setting and getting, nullptr
+// means using the default timing function returning the actual time.
WTF_EXPORT TimeFunction setTimeFunctionsForTesting(TimeFunction);
} // namespace WTF
« no previous file with comments | « third_party/WebKit/Source/wtf/CryptographicallyRandomNumber.cpp ('k') | third_party/WebKit/Source/wtf/DataLog.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698