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 CONTENT_RENDERER_MEDIA_WEB_MEDIA_ELEMENT_SOURCE_UTILS_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEB_MEDIA_ELEMENT_SOURCE_UTILS_H_ |
| 7 |
| 8 namespace blink { |
| 9 class WebMediaPlayerSource; |
| 10 class WebMediaStream; |
| 11 } |
| 12 |
| 13 namespace content { |
| 14 |
| 15 // Obtains a WebMediaStream from a WebMediaPlayerSource. If the |
| 16 // WebMediaPlayerSource does not contain a WebMediaStream, a null |
| 17 // WebMediaStream is returned. |
| 18 blink::WebMediaStream GetWebMediaStreamFromWebMediaPlayerSource( |
| 19 const blink::WebMediaPlayerSource& source); |
| 20 |
| 21 } // namespace content |
| 22 |
| 23 #endif // CONTENT_RENDERER_MEDIA_WEB_MEDIA_ELEMENT_SOURCE_UTILS_H_ |
OLD | NEW |