Index: public/platform/WebMediaStreamCenter.h |
diff --git a/public/platform/WebMediaStreamCenter.h b/public/platform/WebMediaStreamCenter.h |
index 18348a4957be6f8e24a7e762df72420473601da0..8340a4e054dd941699734e4096a2ef5f7779f43d 100644 |
--- a/public/platform/WebMediaStreamCenter.h |
+++ b/public/platform/WebMediaStreamCenter.h |
@@ -31,18 +31,21 @@ |
#ifndef WebMediaStreamCenter_h |
#define WebMediaStreamCenter_h |
-#include "WebString.h" |
+#include "WebVector.h" |
namespace WebKit { |
class WebMediaStream; |
class WebMediaStreamSourcesRequest; |
class WebMediaStreamTrack; |
+class WebSourceInfo; |
+class WebString; |
class WebMediaStreamCenter { |
public: |
virtual ~WebMediaStreamCenter() { } |
virtual void queryMediaStreamSources(const WebMediaStreamSourcesRequest&) = 0; |
+ virtual bool getSourceInfos(const WebString& url, WebVector<WebSourceInfo>&) { return false; } |
virtual void didEnableMediaStreamTrack(const WebMediaStream&, const WebMediaStreamTrack&) = 0; |
virtual void didDisableMediaStreamTrack(const WebMediaStream&, const WebMediaStreamTrack&) = 0; |
virtual bool didAddMediaStreamTrack(const WebMediaStream&, const WebMediaStreamTrack&) { return false; }; |