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

Unified Diff: chrome/browser/ui/app_list/speech_recognizer.cc

Issue 1110363002: Reduce app list no-new-speech timeout to 2 seconds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kill_recommendations_on_nonexp
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/speech_recognizer.cc
diff --git a/chrome/browser/ui/app_list/speech_recognizer.cc b/chrome/browser/ui/app_list/speech_recognizer.cc
index 8f6eafadeccb1b42cfd2a0e8ca0bd0c69c5bc9a2..9cd17414c6421ec8b3fccfb0197ce1d420f6467f 100644
--- a/chrome/browser/ui/app_list/speech_recognizer.cc
+++ b/chrome/browser/ui/app_list/speech_recognizer.cc
@@ -27,7 +27,7 @@ namespace app_list {
static const int kNoSpeechTimeoutInSeconds = 5;
// Length of timeout to cancel recognition if no different results are received.
-static const int kNoNewSpeechTimeoutInSeconds = 3;
+static const int kNoNewSpeechTimeoutInSeconds = 2;
// Invalid speech session.
static const int kInvalidSessionId = -1;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698