Index: content/browser/speech/speech_input_manager.h |
diff --git a/content/browser/speech/speech_input_manager.h b/content/browser/speech/speech_input_manager.h |
index 342f2c139d7dc97ddfca349211ca97841f4d74ea..abc1d8980b883057dda8aa938ade003193e2e511 100644 |
--- a/content/browser/speech/speech_input_manager.h |
+++ b/content/browser/speech/speech_input_manager.h |
@@ -31,6 +31,8 @@ class SpeechInputManager { |
virtual ~Delegate() {} |
}; |
+ SpeechInputManager() : censor_results_(true) {} |
+ |
// Invokes the platform provided microphone settings UI in a non-blocking way, |
// via the BrowserThread::FILE thread. |
static void ShowAudioInputSettings(); |
@@ -64,6 +66,12 @@ class SpeechInputManager { |
virtual void StopRecording(int caller_id) = 0; |
virtual void CancelAllRequestsWithDelegate(Delegate* delegate) = 0; |
+ |
+ void set_censor_results(bool censor) { censor_results_ = censor; } |
+ |
+ bool censor_results() { return censor_results_; } |
+ private: |
+ bool censor_results_; |
}; |
// This typedef is to workaround the issue with certain versions of |