| Index: content/renderer/media/android/webmediaplayer_android.h
|
| diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
|
| index 51ba4af1b3cc3fbf820774b6f55e37bba5502a87..f37c423e54208ef549f02fa798c1cda9ce07d433 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.h
|
| +++ b/content/renderer/media/android/webmediaplayer_android.h
|
| @@ -83,6 +83,13 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
|
| public RenderFrameObserver,
|
| public StreamTextureFactoryContextObserver {
|
| public:
|
| + // Test whether the path of a URL ends with ".m3u8".
|
| + static bool IsHLSURL(const GURL& url);
|
| +
|
| + // Test whether a URL contains "m3u8". (Using exactly the same logic as
|
| + // NuPlayer does to determine if a stream is HLS.)
|
| + static bool IsHLSPath(const GURL& url);
|
| +
|
| // Construct a WebMediaPlayerAndroid object. This class communicates with the
|
| // MediaPlayerAndroid object in the browser process through |proxy|.
|
| // TODO(qinmin): |frame| argument is used to determine whether the current
|
|
|