[Hotword] Disable the extension if they've never set the preference after install.
commitf5034de682cd67eb9c51433b49d2eb49d8ce6d74
authorrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 21 Mar 2014 12:59:29 +0000 (21 12:59 +0000)
committerrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 21 Mar 2014 12:59:29 +0000 (21 12:59 +0000)
treee43ca60b36f2c9aefd564cd192b23472a16e0bfb
parentca033634a786022407b66ca4c65fc910eae58d39
[Hotword] Disable the extension if they've never set the preference after install.

The situation is that when the user first installs the extension, the disable during
HowtordService() occurs before the installation has occurred. Therefore, we need to
listen for completion of that installation and *then* disable the extension.

BUG=349573

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258556 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/search/hotword_service.cc
chrome/browser/search/hotword_service.h