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

Unified Diff: Source/modules/mediastream/MediaStreamRegistry.h

Issue 16753003: Revert "Remove MediaStreamDescriptor and call/use WebMediaStream directly" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/modules/mediastream/MediaStream.cpp ('k') | Source/modules/mediastream/MediaStreamRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStreamRegistry.h
diff --git a/Source/modules/mediastream/MediaStreamRegistry.h b/Source/modules/mediastream/MediaStreamRegistry.h
index 9f3b621051815ae51fc9d4279e128eab72710057..84e31b7c4ac8748136d4e5ad5158eca25e59b9f4 100644
--- a/Source/modules/mediastream/MediaStreamRegistry.h
+++ b/Source/modules/mediastream/MediaStreamRegistry.h
@@ -26,7 +26,6 @@
#define MediaStreamRegistry_h
#include "core/html/URLRegistry.h"
-#include "public/platform/WebMediaStream.h"
#include "wtf/HashMap.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/StringHash.h"
@@ -35,6 +34,7 @@ namespace WebCore {
class KURL;
class MediaStream;
+class MediaStreamDescriptor;
class MediaStreamRegistry : public URLRegistry {
public:
@@ -45,10 +45,10 @@ public:
virtual void registerURL(SecurityOrigin*, const KURL&, URLRegistrable*) OVERRIDE;
virtual void unregisterURL(const KURL&) OVERRIDE;
- WebKit::WebMediaStream lookupWebMediaStream(const String& url);
+ MediaStreamDescriptor* lookupMediaStreamDescriptor(const String& url);
private:
- HashMap<String, WebKit::WebMediaStream > m_webMediaStreams;
+ HashMap<String, RefPtr<MediaStreamDescriptor> > m_streamDescriptors;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/mediastream/MediaStream.cpp ('k') | Source/modules/mediastream/MediaStreamRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698