Revert "[Testing, Hotword] Only check for hardware if the cras_audio_handler is initi...
commit671abbfddc383fe82ec2744b21f376bef5af7da5
authorMitsuru Oshima <oshima@chromium.org>
Thu, 18 Dec 2014 12:10:56 +0000 (18 04:10 -0800)
committerMitsuru Oshima <oshima@chromium.org>
Thu, 18 Dec 2014 12:11:28 +0000 (18 12:11 +0000)
tree57acc1bc3dccc753b8b675cbe913f87119330be6
parent14976c19a6ab3cd23458d0a1616e7c5fe970c64d
Revert "[Testing, Hotword] Only check for hardware if the cras_audio_handler is initialized."

This reverts commit 7362cd971952961061648e657db7aae609c9e79f.
Reason for revert: This didn't fix the failure on valgrind test

>    [Testing, Hotword] Only check for hardware if the cras_audio_handler is init
>
>    Rather than creating a cras_audio_handler each time, only
>    check if the handler is initialized which avoids having to do
>    shutdown for tests that the hotword service is not relevant
>    to and should eliminate test interdependency.
>
>    Also, do init and shutdown in the hotword unittests since it
>    is relevant there.
>
>    BUG=442834
>    TBR=benwells@chromium.org, amistry@chromium.org
>
>    Review URL: https://codereview.chromium.org/814613002
>
>    Cr-Commit-Position: refs/heads/master@{#308902}

BUG=442834
TBR=rlp@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#308994}
chrome/browser/extensions/component_loader_unittest.cc
chrome/browser/search/hotword_service_factory.cc
chrome/browser/search/hotword_service_unittest.cc