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

Unified Diff: media/base/media_url_demuxer.h

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.h
diff --git a/media/base/media_url_demuxer.h b/media/base/media_url_demuxer.h
index 6cb988214e1062677e8988a30140ff2d0a9c8625..25c0d5099a8faab869f1d1459d5a01f4651217c2 100644
--- a/media/base/media_url_demuxer.h
+++ b/media/base/media_url_demuxer.h
@@ -30,12 +30,13 @@ class MEDIA_EXPORT MediaUrlDemuxer : public Demuxer {
public:
MediaUrlDemuxer(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
- const GURL& url);
+ const GURL& media_url,
+ const GURL& first_party_for_cookies);
~MediaUrlDemuxer() override;
// DemuxerStreamProvider interface.
DemuxerStream* GetStream(DemuxerStream::Type type) override;
- GURL GetUrl() const override;
+ MediaUrlParams GetMediaUrlParams() const override;
DemuxerStreamProvider::Type GetType() const override;
// Demuxer interface.
@@ -57,7 +58,7 @@ class MEDIA_EXPORT MediaUrlDemuxer : public Demuxer {
base::TimeDelta currTime) override;
private:
- GURL url_;
+ MediaUrlParams params_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;

Powered by Google App Engine
This is Rietveld 408576698