| Index: content/renderer/media/media_stream_impl.h
|
| ===================================================================
|
| --- content/renderer/media/media_stream_impl.h (revision 161195)
|
| +++ content/renderer/media/media_stream_impl.h (working copy)
|
| @@ -51,6 +51,12 @@
|
| MediaStreamDependencyFactory* dependency_factory);
|
| virtual ~MediaStreamImpl();
|
|
|
| + // Return true when the |url| is media stream.
|
| + // This static function has the same functionalilty as IsMediaStream
|
| + // except that it doesn't require an instance of this class.
|
| + // This can save some overhead time when the |url| is not media stream.
|
| + static bool CheckMediaStream(const GURL& url);
|
| +
|
| // WebKit::WebUserMediaClient implementation
|
| virtual void requestUserMedia(
|
| const WebKit::WebUserMediaRequest& user_media_request,
|
|
|