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

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

Issue 16778002: MediaStream API: Changing the device enumeration to be async (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comment fixed 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/modules/mediastream/MediaStreamTrackSourcesCallback.h
diff --git a/Source/core/platform/mediastream/RTCDTMFSenderHandlerClient.h b/Source/modules/mediastream/MediaStreamTrackSourcesCallback.h
similarity index 76%
copy from Source/core/platform/mediastream/RTCDTMFSenderHandlerClient.h
copy to Source/modules/mediastream/MediaStreamTrackSourcesCallback.h
index 3a3f18b2f94980a346ef719d39ca19e7aa101bee..585031f656748254f53921e1b660f333fbe9b947 100644
--- a/Source/core/platform/mediastream/RTCDTMFSenderHandlerClient.h
+++ b/Source/modules/mediastream/MediaStreamTrackSourcesCallback.h
@@ -23,20 +23,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCDTMFSenderHandlerClient_h
-#define RTCDTMFSenderHandlerClient_h
+#ifndef MediaStreamTrackSourcesCallback_h
+#define MediaStreamTrackSourcesCallback_h
-#include "wtf/text/WTFString.h"
+#include "modules/mediastream/SourceInfo.h"
+#include "wtf/RefCounted.h"
namespace WebCore {
-class RTCDTMFSenderHandlerClient {
-public:
- virtual ~RTCDTMFSenderHandlerClient() { }
+class MediaStreamTrackSourcesResponse;
- virtual void didPlayTone(const String&) = 0;
+class MediaStreamTrackSourcesCallback : public RefCounted<MediaStreamTrackSourcesCallback> {
+public:
+ virtual ~MediaStreamTrackSourcesCallback() { }
+ virtual bool handleEvent(SourceInfoVector) = 0;
};
} // namespace WebCore
-#endif // RTCDTMFSenderHandlerClient_h
+#endif // MediaStreamTrackSourcesCallback_h
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrack.idl ('k') | Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698