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

Unified Diff: media/cast/cast_environment.h

Issue 34623008: Change to calculate the real NTP in TimeTicks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits in Time Created 7 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: media/cast/cast_environment.h
diff --git a/media/cast/cast_environment.h b/media/cast/cast_environment.h
index 112909173595215479ab91353d87c9abcd625ebb..79a2cf82b2e5a7d7f41dad1e930534682dc2ff19 100644
--- a/media/cast/cast_environment.h
+++ b/media/cast/cast_environment.h
@@ -33,6 +33,8 @@ class CastEnvironment : public base::RefCountedThreadSafe<CastEnvironment> {
VIDEO_DECODER,
};
+ // For real applications (not tests) the clock provided should be a
+ // CastNtpTickClock.
CastEnvironment(base::TickClock* clock,
scoped_refptr<base::TaskRunner> main_thread_proxy,
scoped_refptr<base::TaskRunner> audio_encode_thread_proxy,

Powered by Google App Engine
This is Rietveld 408576698