Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: chrome/browser/speech/speech_input_dispatcher_host.h

Issue 6358007: Cancel any pending speech recognitions when the dispatcher host terminates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/speech/speech_input_dispatcher_host.h
diff --git a/chrome/browser/speech/speech_input_dispatcher_host.h b/chrome/browser/speech/speech_input_dispatcher_host.h
index 51ae04ce92edd03ed39730909504c99e97ad1eeb..4310a80b45e2fffd7a228749736bb06ce507e99c 100644
--- a/chrome/browser/speech/speech_input_dispatcher_host.h
+++ b/chrome/browser/speech/speech_input_dispatcher_host.h
@@ -51,6 +51,7 @@ class SpeechInputDispatcherHost : public BrowserMessageFilter,
SpeechInputManager* manager();
int render_process_id_;
+ bool received_speech_request_; // Set if we received any speech IPC request.
static SpeechInputManager::AccessorMethod* manager_accessor_;

Powered by Google App Engine
This is Rietveld 408576698