| 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
|
|
|