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

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

Issue 16778002: MediaStream API: Changing the device enumeration to be async (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments 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 546cbc7fa0996501f15268b10799b1f9eb8ddca5..3b90143c05a02782157f4d0a4809aa3b1dd523fb 100644
--- a/Source/core/platform/mediastream/MediaStreamCenter.h
+++ b/Source/core/platform/mediastream/MediaStreamCenter.h
@@ -37,15 +37,12 @@
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
-namespace WebKit {
-class WebSourceInfo;
-}
-
namespace WebCore {
class MediaStreamComponent;
class MediaStreamDescriptor;
class MediaStreamSourcesQueryClient;
+class MediaStreamTrackSourcesRequest;
class MediaStreamCenter {
public:
@@ -54,7 +51,7 @@ public:
static MediaStreamCenter& instance();
virtual void queryMediaStreamSources(PassRefPtr<MediaStreamSourcesQueryClient>) = 0;
- virtual bool getSourceInfos(const String& url, WebKit::WebVector<WebKit::WebSourceInfo>&) = 0;
+ virtual bool getMediaStreamTrackSources(PassRefPtr<MediaStreamTrackSourcesRequest>) = 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