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

Unified Diff: Source/core/platform/mediastream/MediaStreamCenter.h

Issue 15796004: [MediaStream API] Adding MediaStreamTrack::getSourceInfos (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test flakiness removed Created 7 years, 7 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: Source/core/platform/mediastream/MediaStreamCenter.h
diff --git a/Source/core/platform/mediastream/MediaStreamCenter.h b/Source/core/platform/mediastream/MediaStreamCenter.h
index 25d705192403500c78f59d7dc518daf77ed303da..2598247867fc889c1734c2a096ccece661e1cfcf 100644
--- a/Source/core/platform/mediastream/MediaStreamCenter.h
+++ b/Source/core/platform/mediastream/MediaStreamCenter.h
@@ -32,8 +32,14 @@
#ifndef MediaStreamCenter_h
#define MediaStreamCenter_h
-#include <wtf/PassRefPtr.h>
-#include <wtf/text/WTFString.h>
+#include "modules/mediastream/SourceInfo.h"
+#include "wtf/PassRefPtr.h"
+#include "wtf/text/WTFString.h"
+#include <public/WebVector.h>
+
+namespace WebKit {
+class WebSourceInfo;
+}
namespace WebCore {
@@ -48,6 +54,7 @@ public:
static MediaStreamCenter& instance();
virtual void queryMediaStreamSources(PassRefPtr<MediaStreamSourcesQueryClient>) = 0;
+ virtual bool getSourceInfos(const String& url, WebKit::WebVector<WebKit::WebSourceInfo>&) = 0;
// Calls from the DOM objects to notify the platform
virtual void didSetMediaStreamTrackEnabled(MediaStreamDescriptor*, MediaStreamComponent*) = 0;

Powered by Google App Engine
This is Rietveld 408576698