forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new hotword extension for built-in hotword triggering.
This is just a skeleton of the extension and doesn't have any functionality. Can't use the existing hotword_helper since this has a hard dependency on a shared module (which doesn't yet exist). BUG=397019 Review URL: https://codereview.chromium.org/423083002 Cr-Commit-Position: refs/heads/master@{#288956} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288956 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
amistry@chromium.org
committed
Aug 12, 2014
1 parent
e40547e
commit 535980d
Showing
7 changed files
with
83 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2014 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
'use strict'; | ||
|
||
/** | ||
* @fileoverview This extension provides hotword triggering capabilites to | ||
* Chrome. | ||
* | ||
* This extension contains all the JavaScript for loading and managing the | ||
* hotword detector. The hotword detector and language model data will be | ||
* provided by a shared module loaded from the web store. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
// Extension ID: nbpagnldghgfoolbancepceaanlmhfmd | ||
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbHXRPiq2De9EJ+4pvNN6uE/D2avxrqyLSpA/Hq3II+btkPl1gboY3oUPTfevpVOFa90Y1c1b3/W682dXqybT0klIvFLKhdQx0LiVqSUQyIaDrwOCSo/ZcukbEwDRojegWymCjHvX6WZk4kKZzTJYzY1vrp0TWKLhttEMN9KFmowIDAQAB", | ||
|
||
"name": "Hotword triggering", | ||
"version": "0.0.1.0", | ||
"manifest_version": 2, | ||
|
||
"background": { | ||
"scripts": ["manager.js"], | ||
"persistent": false | ||
}, | ||
|
||
"permissions": [ | ||
"*://*.google.com/*", | ||
"chrome://newtab/", | ||
"hotwordPrivate", | ||
"tabs" | ||
], | ||
|
||
"externally_connectable": { | ||
"matches": [ | ||
"*://*.google.com/*", | ||
"chrome://newtab/" | ||
] | ||
}, | ||
|
||
"import": [ | ||
{ | ||
// TODO(amistry): For now, use a locally modified version of the external | ||
// hotword extension. Replace with the ID of the new shared module | ||
// containing the hotword detector. | ||
"id": "bepbmhgboaologfdajaanbcjmnhjmhfn" | ||
} | ||
], | ||
|
||
"minimum_chrome_version": "38" | ||
} |