Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MEDIA_BASE_MEDIA_URL_PARAMS_H_ | |
| 6 #define MEDIA_BASE_MEDIA_URL_PARAMS_H_ | |
| 7 | |
| 8 #include "url/gurl.h" | |
| 9 | |
| 10 namespace media { | |
| 11 | |
| 12 // Encapsulates the necessary information in order to play media in URL based | |
| 13 // playback (as opposed to stream based). | |
| 14 // See MediaUrlDemuxer and MediaPlayerRenderer. | |
| 15 struct MEDIA_EXPORT MediaUrlParams { | |
| 16 // URL of the media to be played. | |
| 17 GURL media_url; | |
| 18 | |
| 19 // Used to play media in authenticated scenarios. | |
| 20 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
| |
| 21 }; | |
| 22 | |
| 23 } // namespace media | |
| 24 | |
| 25 #endif // MEDIA_BASE_MEDIA_URL_PARAMS_H_ | |
| OLD | NEW |