This source file includes following definitions.
- CheckRecognitionIsAllowed
- GetEventListener
- FilterProfanities
#include "content/shell/browser/shell_speech_recognition_manager_delegate.h"
#include "content/public/browser/browser_thread.h"
using base::Callback;
namespace content {
void ShellSpeechRecognitionManagerDelegate::CheckRecognitionIsAllowed(
int session_id, Callback<void(bool ask_user, bool is_allowed)> callback) {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE, base::Bind(callback, false, true));
}
SpeechRecognitionEventListener*
ShellSpeechRecognitionManagerDelegate::GetEventListener() {
return NULL;
}
bool ShellSpeechRecognitionManagerDelegate::FilterProfanities(
int render_process_id) {
return false;
}
}