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

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: 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: Source/core/platform/mediastream/MediaStreamCenter.h
diff --git a/Source/core/platform/mediastream/MediaStreamCenter.h b/Source/core/platform/mediastream/MediaStreamCenter.h
index 25d705192403500c78f59d7dc518daf77ed303da..546cbc7fa0996501f15268b10799b1f9eb8ddca5 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 "public/platform/WebVector.h"
+#include "wtf/PassRefPtr.h"
+#include "wtf/text/WTFString.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