summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/buffered_data_source_host_impl.h
diff options
context:
space:
mode:
authorsandersd@chromium.org <sandersd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-16 00:05:31 +0000
committersandersd@chromium.org <sandersd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-16 00:05:31 +0000
commit02022fc1935970dfc2690eb150cbb0ab304d54ed (patch)
tree244563e26057baeaa1b9c91278e90caff951bd48 /content/renderer/media/buffered_data_source_host_impl.h
parenteaf1a7c59154adf8672ccc7942464589e64c34a3 (diff)
downloadchromium_src-02022fc1935970dfc2690eb150cbb0ab304d54ed.zip
chromium_src-02022fc1935970dfc2690eb150cbb0ab304d54ed.tar.gz
chromium_src-02022fc1935970dfc2690eb150cbb0ab304d54ed.tar.bz2
Add return-by-value implementations of blink::WebMediaPlayer::buffered()
This prep work will allow the interface in blink to be changed. Blink change is https://codereview.chromium.org/284143002/. BUG=360254 Review URL: https://codereview.chromium.org/282073003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/buffered_data_source_host_impl.h')
-rw-r--r--content/renderer/media/buffered_data_source_host_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/renderer/media/buffered_data_source_host_impl.h b/content/renderer/media/buffered_data_source_host_impl.h
index 301b08e..d04d467 100644
--- a/content/renderer/media/buffered_data_source_host_impl.h
+++ b/content/renderer/media/buffered_data_source_host_impl.h
@@ -25,9 +25,10 @@ class CONTENT_EXPORT BufferedDataSourceHostImpl
virtual void AddBufferedByteRange(int64 start, int64 end) OVERRIDE;
// Translate the byte ranges to time ranges and append them to the list.
+ // TODO(sandersd): This is a confusing name, find something better.
void AddBufferedTimeRanges(
media::Ranges<base::TimeDelta>* buffered_time_ranges,
- base::TimeDelta media_duration);
+ base::TimeDelta media_duration) const;
bool DidLoadingProgress();