| OLD | NEW |
| 1 { | 1 { |
| 2 // Extension ID: nbpagnldghgfoolbancepceaanlmhfmd | 2 // Extension ID: nbpagnldghgfoolbancepceaanlmhfmd |
| 3 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbHXRPiq2De9EJ+4pvNN6uE/D2avxrqy
LSpA/Hq3II+btkPl1gboY3oUPTfevpVOFa90Y1c1b3/W682dXqybT0klIvFLKhdQx0LiVqSUQyIaDrwO
CSo/ZcukbEwDRojegWymCjHvX6WZk4kKZzTJYzY1vrp0TWKLhttEMN9KFmowIDAQAB", | 3 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbHXRPiq2De9EJ+4pvNN6uE/D2avxrqy
LSpA/Hq3II+btkPl1gboY3oUPTfevpVOFa90Y1c1b3/W682dXqybT0klIvFLKhdQx0LiVqSUQyIaDrwO
CSo/ZcukbEwDRojegWymCjHvX6WZk4kKZzTJYzY1vrp0TWKLhttEMN9KFmowIDAQAB", |
| 4 | 4 |
| 5 "name": "Hotword triggering", | 5 "name": "Hotword triggering", |
| 6 "version": "0.0.1.0", | 6 "version": "0.0.1.0", |
| 7 "manifest_version": 2, | 7 "manifest_version": 2, |
| 8 | 8 |
| 9 "background": { | 9 "background": { |
| 10 "scripts": ["manager.js"], | 10 "scripts": [ |
| 11 "chrome://resources/js/cr.js", |
| 12 "chrome://resources/js/util.js", |
| 13 "chrome://resources/js/cr/event_target.js", |
| 14 "constants.js", |
| 15 "nacl_manager.js", |
| 16 "manager.js" |
| 17 ], |
| 11 "persistent": false | 18 "persistent": false |
| 12 }, | 19 }, |
| 13 | 20 |
| 14 "permissions": [ | 21 "permissions": [ |
| 15 "*://*.google.com/*", | 22 "*://*.google.com/*", |
| 16 "chrome://newtab/", | 23 "chrome://newtab/", |
| 24 "chrome://resources/", |
| 17 "hotwordPrivate", | 25 "hotwordPrivate", |
| 18 "tabs" | 26 "tabs" |
| 19 ], | 27 ], |
| 20 | 28 |
| 21 "externally_connectable": { | 29 "externally_connectable": { |
| 22 "matches": [ | 30 "matches": [ |
| 23 "*://*.google.com/*", | 31 "*://*.google.com/*", |
| 24 "chrome://newtab/" | 32 "chrome://newtab/" |
| 25 ] | 33 ] |
| 26 }, | 34 }, |
| 27 | 35 |
| 28 "import": [ | 36 "import": [ |
| 29 { | 37 { |
| 30 // TODO(amistry): For now, use a locally modified version of the external | 38 // TODO(amistry): For now, use a locally modified version of the external |
| 31 // hotword extension. Replace with the ID of the new shared module | 39 // hotword extension. Replace with the ID of the new shared module |
| 32 // containing the hotword detector. | 40 // containing the hotword detector. |
| 33 "id": "bepbmhgboaologfdajaanbcjmnhjmhfn" | 41 "id": "bepbmhgboaologfdajaanbcjmnhjmhfn" |
| 34 } | 42 } |
| 35 ], | 43 ], |
| 36 | 44 |
| 37 "minimum_chrome_version": "38" | 45 "minimum_chrome_version": "38" |
| 38 } | 46 } |
| OLD | NEW |