Index: media/base/media_url_demuxer.cc |
diff --git a/media/base/media_url_demuxer.cc b/media/base/media_url_demuxer.cc |
index 6427488f4c792195e80d57bad0081bb866b6933a..29b2b48258f2a0f50fa4733e1c0c7334127e2385 100644 |
--- a/media/base/media_url_demuxer.cc |
+++ b/media/base/media_url_demuxer.cc |
@@ -10,8 +10,9 @@ namespace media { |
MediaUrlDemuxer::MediaUrlDemuxer( |
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
- const GURL& url) |
- : url_(url), task_runner_(task_runner) {} |
+ const GURL& media_url, |
+ const GURL& first_party_for_cookies) |
+ : params_{media_url, first_party_for_cookies}, task_runner_(task_runner) {} |
MediaUrlDemuxer::~MediaUrlDemuxer() {} |
@@ -21,8 +22,8 @@ DemuxerStream* MediaUrlDemuxer::GetStream(DemuxerStream::Type type) { |
return nullptr; |
} |
-GURL MediaUrlDemuxer::GetUrl() const { |
- return url_; |
+MediaUrlParams MediaUrlDemuxer::GetMediaUrlParams() const { |
+ return params_; |
} |
DemuxerStreamProvider::Type MediaUrlDemuxer::GetType() const { |