diff options
author | sjl@chromium.org <sjl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-25 20:18:38 +0000 |
---|---|---|
committer | sjl@chromium.org <sjl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-25 20:18:38 +0000 |
commit | dc2479d5909842e1e181a13751cc33887f285536 (patch) | |
tree | bf4b95db6c967f199457941ff8d4e3bd31686e71 /webkit/glue/webmediaplayer_impl.h | |
parent | a0d2f0e277a024c527ba1dc937e06a62ca90ad50 (diff) | |
download | chromium_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.h | 8 |
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); |