#include "content/shell/browser/shell_speech_recognition_manager_delegate.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
using base::OnceCallback;
namespace content {
void ShellSpeechRecognitionManagerDelegate::CheckRecognitionIsAllowed(
int session_id,
OnceCallback<void(bool ask_user, bool is_allowed)> callback) {
GetIOThreadTaskRunner({})->PostTask(
FROM_HERE, base::BindOnce(std::move(callback), false, true));
}
SpeechRecognitionEventListener*
ShellSpeechRecognitionManagerDelegate::GetEventListener() {
return nullptr;
}
bool ShellSpeechRecognitionManagerDelegate::FilterProfanities(
int render_process_id) {
return false;
}
}