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

Unified Diff: media/base/media_url_params.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
« no previous file with comments | « media/base/media_url_demuxer_unittest.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_url_params.h
diff --git a/media/base/media_url_params.h b/media/base/media_url_params.h
new file mode 100644
index 0000000000000000000000000000000000000000..881cd09b4cdced902ba8353f63da140fab3f7ab0
--- /dev/null
+++ b/media/base/media_url_params.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_BASE_MEDIA_URL_PARAMS_H_
+#define MEDIA_BASE_MEDIA_URL_PARAMS_H_
+
+#include "url/gurl.h"
+
+namespace media {
+
+// Encapsulates the necessary information in order to play media in URL based
+// playback (as opposed to stream based).
+// See MediaUrlDemuxer and MediaPlayerRenderer.
+struct MEDIA_EXPORT MediaUrlParams {
+ // URL of the media to be played.
+ GURL media_url;
+
+ // Used to play media in authenticated scenarios.
+ GURL first_party_for_cookies;
xhwang 2016/10/21 00:02:19 Could you please add some more comments about this
tguilbert 2016/10/21 03:05:58 I was hesitant to add detailed comments, because I
+};
+
+} // namespace media
+
+#endif // MEDIA_BASE_MEDIA_URL_PARAMS_H_
« no previous file with comments | « media/base/media_url_demuxer_unittest.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698