| Index: chrome/browser/resources/hotword/state_manager.js
|
| diff --git a/chrome/browser/resources/hotword/state_manager.js b/chrome/browser/resources/hotword/state_manager.js
|
| index 764d2c099dd202f5b81f9d123d2a4195da6d1373..b66e9f2a85715362767f048d09e581d2907b28eb 100644
|
| --- a/chrome/browser/resources/hotword/state_manager.js
|
| +++ b/chrome/browser/resources/hotword/state_manager.js
|
| @@ -86,6 +86,7 @@ cr.define('hotword', function() {
|
| * @private
|
| */
|
| handleStatus_: function(status) {
|
| + hotword.Debug('New hotword status', status);
|
| this.hotwordStatus_ = status;
|
| this.updateStateFromStatus_();
|
| },
|
| @@ -234,6 +235,7 @@ cr.define('hotword', function() {
|
| * @private
|
| */
|
| onTrigger_: function() {
|
| + hotword.Debug('Hotword triggered!');
|
| assert(this.pluginManager_);
|
| // Detector implicitly stops when the hotword is detected.
|
| this.state_ = State_.STOPPED;
|
| @@ -257,6 +259,7 @@ cr.define('hotword', function() {
|
| * been started successfully.
|
| */
|
| startSession: function(source, startedCb) {
|
| + hotword.Debug('Starting session for source: ' + source);
|
| this.sessionSource_ = source;
|
| this.sessionStartedCb_ = startedCb;
|
| this.updateStateFromStatus_();
|
| @@ -268,6 +271,7 @@ cr.define('hotword', function() {
|
| * session request.
|
| */
|
| stopSession: function(source) {
|
| + hotword.Debug('Stopping session for source: ' + source);
|
| this.sessionSource_ = null;
|
| this.sessionStartedCb_ = null;
|
| this.updateStateFromStatus_();
|
|
|