#include "third_party/blink/renderer/platform/peerconnection/rtc_dtmf_sender_handler.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/task/single_thread_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/thread_checker.h"
#include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_copier_base.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
#include "third_party/blink/renderer/platform/wtf/thread_safe_ref_counted.h"
namespace blink {
class RtcDtmfSenderHandler::Observer
: public WTF::ThreadSafeRefCounted<Observer>,
public webrtc::DtmfSenderObserverInterface { … };
RtcDtmfSenderHandler::RtcDtmfSenderHandler(
scoped_refptr<base::SingleThreadTaskRunner> main_thread,
webrtc::DtmfSenderInterface* dtmf_sender)
: … { … }
RtcDtmfSenderHandler::~RtcDtmfSenderHandler() { … }
void RtcDtmfSenderHandler::SetClient(RtcDtmfSenderHandler::Client* client) { … }
String RtcDtmfSenderHandler::CurrentToneBuffer() { … }
bool RtcDtmfSenderHandler::CanInsertDTMF() { … }
bool RtcDtmfSenderHandler::InsertDTMF(const String& tones,
int duration,
int inter_tone_gap) { … }
void RtcDtmfSenderHandler::OnToneChange(const String& tone) { … }
}