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

Unified Diff: base/time/time.h

Issue 2101303004: Pass delay and timestamp to AudioSourceCallback::OnMoreData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Changes based on comments Created 4 years, 4 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 | « no previous file | base/time/time_posix.cc » ('j') | media/audio/android/opensles_output.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time.h
diff --git a/base/time/time.h b/base/time/time.h
index b09cd9ef8d09e55c1d13a3101fb25bcb51552df9..b1961b0e2b004355ed151c6f4febac7ce88c5de7 100644
--- a/base/time/time.h
+++ b/base/time/time.h
@@ -115,6 +115,9 @@ class BASE_EXPORT TimeDelta {
static constexpr TimeDelta FromSecondsD(double secs);
static constexpr TimeDelta FromMillisecondsD(double ms);
static constexpr TimeDelta FromMicroseconds(int64_t us);
+#if defined(OS_POSIX)
+ static TimeDelta FromTimeSpec(const timespec& ts);
+#endif
#if defined(OS_WIN)
static TimeDelta FromQPCValue(LONGLONG qpc_value);
#endif
« no previous file with comments | « no previous file | base/time/time_posix.cc » ('j') | media/audio/android/opensles_output.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698