Add a timeout for app list voice search for when the query doesn't change.
commit1da57beccf99c87d82f6bef4203e3dd173a99e57
authorcalamity <calamity@chromium.org>
Tue, 21 Apr 2015 07:04:01 +0000 (21 00:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Apr 2015 07:05:13 +0000 (21 07:05 +0000)
tree9f3877bbd5926b193d2ff71ad8416252d4c38296
parent9dc9bf6fce118fc5881449474780228376a1ee3c
Add a timeout for app list voice search for when the query doesn't change.

This CL adds a timeout for the app list voice search which triggers if the
query doesn't change after 3 seconds. This prevents problems with spiky
noise keeping the voice search waiting for input even though the system
isn't detecting coherent speech.

BUG=475296

Review URL: https://codereview.chromium.org/1094743003

Cr-Commit-Position: refs/heads/master@{#325992}
chrome/browser/ui/app_list/speech_recognizer.cc