| Index: chrome/browser/resources/hotword/constants.js
|
| diff --git a/chrome/browser/resources/hotword/constants.js b/chrome/browser/resources/hotword/constants.js
|
| index badd09ce308db02ad8c2b26df3300aea718d7968..988f9b87d89cf741cf6b68ee75ff285799870c6b 100644
|
| --- a/chrome/browser/resources/hotword/constants.js
|
| +++ b/chrome/browser/resources/hotword/constants.js
|
| @@ -12,6 +12,12 @@ cr.define('hotword.constants', function() {
|
| var AUDIO_LOG_SECONDS = 2;
|
|
|
| /**
|
| + * Timeout in seconds, for detecting false positives with a hotword stream.
|
| + * @const {number}
|
| + */
|
| +var HOTWORD_STREAM_TIMEOUT_SECONDS = 2;
|
| +
|
| +/**
|
| * Hotword data shared module extension's ID.
|
| * @const {string}
|
| */
|
| @@ -117,6 +123,7 @@ var NaClPlugin = {
|
| MODEL_PREFIX: 'm',
|
| STOP: 's',
|
| LOG: 'l',
|
| + DSP: 'd',
|
| BEGIN_SPEAKER_MODEL: 'b',
|
| ADAPT_SPEAKER_MODEL: 'a',
|
| FINISH_SPEAKER_MODEL: 'f',
|
| @@ -276,6 +283,7 @@ return {
|
| CLIENT_PORT_NAME: CLIENT_PORT_NAME,
|
| COMMAND_FIELD_NAME: COMMAND_FIELD_NAME,
|
| FILE_SYSTEM_SIZE_BYTES: FILE_SYSTEM_SIZE_BYTES,
|
| + HOTWORD_STREAM_TIMEOUT_SECONDS: HOTWORD_STREAM_TIMEOUT_SECONDS,
|
| NUM_TRAINING_UTTERANCES: NUM_TRAINING_UTTERANCES,
|
| SHARED_MODULE_ID: SHARED_MODULE_ID,
|
| SHARED_MODULE_ROOT: SHARED_MODULE_ROOT,
|
|
|