| Index: chrome/browser/resources/app_list/plugin_manager.js
|
| diff --git a/chrome/browser/resources/app_list/plugin_manager.js b/chrome/browser/resources/app_list/plugin_manager.js
|
| index b6407b6557daf66f59375d60fdf62e2da9124ad1..5ebcf9a163d8ac941e6dd8c3e7f5e9e5145ceb33 100644
|
| --- a/chrome/browser/resources/app_list/plugin_manager.js
|
| +++ b/chrome/browser/resources/app_list/plugin_manager.js
|
| @@ -39,7 +39,7 @@ cr.define('speech', function() {
|
| /**
|
| * @constructor
|
| */
|
| - function PluginManager(onReady, onRecognized) {
|
| + function PluginManager(prefix, onReady, onRecognized) {
|
| this.state = PluginState.UNINITIALIZED;
|
| this.onReady_ = onReady;
|
| this.onRecognized_ = onRecognized;
|
| @@ -50,7 +50,7 @@ cr.define('speech', function() {
|
| recognizer = document.createElement('EMBED');
|
| recognizer.id = 'recognizer';
|
| recognizer.type = 'application/x-nacl';
|
| - recognizer.src = 'chrome://app-list/greconacl.nmf';
|
| + recognizer.src = 'chrome://app-list/hotword_' + prefix + '.nmf';
|
| recognizer.width = '1';
|
| recognizer.height = '1';
|
| document.body.appendChild(recognizer);
|
|
|