Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8937)

Unified Diff: chrome/test/data/extensions/api_test/hotword_private/startTraining/test.js

Issue 686333002: Hotword Private API: Adds speech training functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/hotword_private/startTraining/test.js
diff --git a/chrome/test/data/extensions/api_test/hotword_private/setEnabledTrue/test.js b/chrome/test/data/extensions/api_test/hotword_private/startTraining/test.js
similarity index 56%
copy from chrome/test/data/extensions/api_test/hotword_private/setEnabledTrue/test.js
copy to chrome/test/data/extensions/api_test/hotword_private/startTraining/test.js
index 1cfb2c28ab659e9c6e92afe6c28aa302abfc510a..e9636f8b6f33530f11f8fab0cd752d700001723a 100644
--- a/chrome/test/data/extensions/api_test/hotword_private/setEnabledTrue/test.js
+++ b/chrome/test/data/extensions/api_test/hotword_private/startTraining/test.js
@@ -3,9 +3,9 @@
// found in the LICENSE file.
chrome.test.runTests([
- function setEnabledTrue() {
- chrome.hotwordPrivate.setEnabled(true, chrome.test.callbackPass(function() {
- chrome.test.sendMessage("ready");
+ function startTraining() {
+ chrome.hotwordPrivate.startTraining(chrome.test.callbackPass(function() {
+ chrome.test.sendMessage("start training");
}));
}
]);

Powered by Google App Engine
This is Rietveld 408576698