summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmediaplayer_impl.h
diff options
context:
space:
mode:
authorsjl@chromium.org <sjl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-25 20:18:38 +0000
committersjl@chromium.org <sjl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-25 20:18:38 +0000
commitdc2479d5909842e1e181a13751cc33887f285536 (patch)
treebf4b95db6c967f199457941ff8d4e3bd31686e71 /webkit/glue/webmediaplayer_impl.h
parenta0d2f0e277a024c527ba1dc937e06a62ca90ad50 (diff)
downloadchromium_src-dc2479d5909842e1e181a13751cc33887f285536.zip
chromium_src-dc2479d5909842e1e181a13751cc33887f285536.tar.gz
chromium_src-dc2479d5909842e1e181a13751cc33887f285536.tar.bz2
Rename media statistics APIs to match webkit renaming.
Also, set expectations for statistics callback mock in unittests the lack of which caused "uninteresting calls" turds in the mock output. This mock was introduced in the original patch for media statistics (http://codereview.chromium.org/6246091/). BUG=71255, 73464 TEST=media_unittests Review URL: http://codereview.chromium.org/6549030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.h')
-rw-r--r--webkit/glue/webmediaplayer_impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h
index fb1c938..cadf4d7 100644
--- a/webkit/glue/webmediaplayer_impl.h
+++ b/webkit/glue/webmediaplayer_impl.h
@@ -241,10 +241,10 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
virtual bool hasSingleSecurityOrigin() const;
virtual WebKit::WebMediaPlayer::MovieLoadType movieLoadType() const;
- virtual unsigned long decodedFrames() const;
- virtual unsigned long droppedFrames() const;
- virtual unsigned long audioBytesDecoded() const;
- virtual unsigned long videoBytesDecoded() const;
+ virtual unsigned decodedFrameCount() const;
+ virtual unsigned droppedFrameCount() const;
+ virtual unsigned audioDecodedByteCount() const;
+ virtual unsigned videoDecodedByteCount() const;
virtual WebKit::WebVideoFrame* getCurrentFrame();
virtual void putCurrentFrame(WebKit::WebVideoFrame* web_video_frame);