Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: media/base/media_url_demuxer.cc

Issue 2434413002: Plumb firstPartyForCookies() to MediaPlayerBridge (Closed)
Patch Set: Added bug number to TODO Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698