Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Unified Diff: public/platform/WebMediaStreamCenter.h

Issue 15796004: [MediaStream API] Adding MediaStreamTrack::getSourceInfos (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments and merge Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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; };
« no previous file with comments | « Tools/DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.cpp ('k') | public/platform/WebSourceInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698