summaryrefslogtreecommitdiffstats
path: root/media/base/clock.h
diff options
context:
space:
mode:
authoracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 23:16:53 +0000
committeracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 23:16:53 +0000
commitac314487f1a1774a2ce7c675066228cd7211c547 (patch)
treec08462e7a9b0346fdd639a6c7d843bbe27d3ec6d /media/base/clock.h
parent4539075602033ce857d061af1cfa24887850b8d8 (diff)
downloadchromium_src-ac314487f1a1774a2ce7c675066228cd7211c547.zip
chromium_src-ac314487f1a1774a2ce7c675066228cd7211c547.tar.gz
chromium_src-ac314487f1a1774a2ce7c675066228cd7211c547.tar.bz2
Creating integration tests for media pipeline that use real decoders and demuxers.
TEST=PipelineIntegrationTest Review URL: http://codereview.chromium.org/8968035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/clock.h')
-rw-r--r--media/base/clock.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/base/clock.h b/media/base/clock.h
index 0acf71b..fc1be6d 100644
--- a/media/base/clock.h
+++ b/media/base/clock.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -33,6 +33,9 @@ class MEDIA_EXPORT Clock {
Clock(TimeProvider* time_provider);
~Clock();
+ // Returns true if the clock is running.
+ bool IsPlaying() const;
+
// Starts the clock and returns the current media time, which will increase
// with respect to the current playback rate.
base::TimeDelta Play();