Chromium Code Reviews| Index: media/blink/buffered_data_source.h |
| diff --git a/media/blink/buffered_data_source.h b/media/blink/buffered_data_source.h |
| index 9ffeb4068c2c3f1d4aff77bf86080a41390ec302..a78edefd5bbbaa7c6a507804ceee6d9d7f463ccf 100644 |
| --- a/media/blink/buffered_data_source.h |
| +++ b/media/blink/buffered_data_source.h |
| @@ -114,6 +114,9 @@ class BufferedDataSourceInterface : public DataSource { |
| // Returns an estimate of the number of bytes held by the data source. |
| virtual int64_t GetMemoryUsage() const = 0; |
| + |
| + // Returns the post-Initialize() URL after redirects have been followed. |
|
hubbe
2016/06/15 21:07:56
Please document if it's ok for this to change if a
DaleCurtis
2016/06/15 23:11:30
Done.
|
| + virtual GURL GetResponseOriginURL() const = 0; |
|
hubbe
2016/06/15 21:07:56
GetResponseOriginalURL only makes sense if you kno
DaleCurtis
2016/06/15 23:11:30
Done.
|
| }; |
| // A data source capable of loading URLs and buffering the data using an |
| @@ -190,6 +193,8 @@ class MEDIA_BLINK_EXPORT BufferedDataSource |
| // Returns an estimate of the number of bytes held by the data source. |
| int64_t GetMemoryUsage() const override; |
| + GURL GetResponseOriginURL() const override; |
| + |
| // DataSource implementation. |
| // Called from demuxer thread. |
| void Stop() override; |