summaryrefslogtreecommitdiffstats
path: root/webkit/media/webmediaplayer_impl.h
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 08:09:15 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 08:09:15 +0000
commit7ed21bea852d071a525ef35540eb26c22381f0d5 (patch)
treecc1bce24976a57eebfef2933fa16d7466c345664 /webkit/media/webmediaplayer_impl.h
parent42816d78df4d63c4eb01768b89051e2b77717823 (diff)
downloadchromium_src-7ed21bea852d071a525ef35540eb26c22381f0d5.zip
chromium_src-7ed21bea852d071a525ef35540eb26c22381f0d5.tar.gz
chromium_src-7ed21bea852d071a525ef35540eb26c22381f0d5.tar.bz2
Delete Pipeline::GetBufferedBytes() in preparation for didLoadingProgress() switchover.
BUG=http://webk.it/86113 Review URL: https://chromiumcodereview.appspot.com/10458005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/media/webmediaplayer_impl.h')
-rw-r--r--webkit/media/webmediaplayer_impl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index b5c615f..3e7a87a 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -159,7 +159,12 @@ class WebMediaPlayerImpl
virtual WebKit::WebMediaPlayer::NetworkState networkState() const;
virtual WebKit::WebMediaPlayer::ReadyState readyState() const;
+ // TODO(fischman): this method now lies in preparation for removal once
+ // WebKit::WebMediaPlayer is fixed to not call it. http://webk.it/86113
+ // When removing this method also delete fake_bytes_loaded_.
virtual unsigned long long bytesLoaded() const;
+
+ virtual bool didLoadingProgress() const;
virtual unsigned long long totalBytes() const;
virtual bool hasSingleSecurityOrigin() const;
@@ -318,6 +323,9 @@ class WebMediaPlayerImpl
bool is_local_source_;
+ // TODO(fischman): see TODO on bytesLoaded() above.
+ mutable uint64 fake_bytes_loaded_;
+
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
};