Turn off the hotword detector when the user switches active profiles.
commit74f48029bc98661cdb1a3ccc4be2b65be1ad69db
authoramistry <amistry@chromium.org>
Wed, 3 Dec 2014 01:38:51 +0000 (2 17:38 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Dec 2014 01:39:13 +0000 (3 01:39 +0000)
tree98451503778127c4f3d9d356111edc776d138494
parent4a89195ca487fbaf4315b71c1d971211dc8369a3
Turn off the hotword detector when the user switches active profiles.

Under ash, when the user switches profiles, the hotword detector should
stop and the new profile's settings should be respected.

BUG=428200,428206

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

Cr-Commit-Position: refs/heads/master@{#306521}
chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
chrome/browser/resources/hotword/state_manager.js
chrome/browser/search/hotword_service.cc
chrome/browser/search/hotword_service.h
chrome/browser/search/hotword_service_unittest.cc
chrome/common/extensions/api/hotword_private.idl