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

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

Issue 528113003: Hotword Audio Verification App: Adds to hotwordPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-one
Patch Set: Review comments Created 6 years, 3 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/getLaunchState/test.js
diff --git a/chrome/test/data/extensions/api_test/hotword_private/isAvailable/test.js b/chrome/test/data/extensions/api_test/hotword_private/getLaunchState/test.js
similarity index 62%
copy from chrome/test/data/extensions/api_test/hotword_private/isAvailable/test.js
copy to chrome/test/data/extensions/api_test/hotword_private/getLaunchState/test.js
index 01ef5b831bdf78a537d8199de612f683ac0bd265..957d11e556bebd127cbaa472326a78d048d9ee5a 100644
--- a/chrome/test/data/extensions/api_test/hotword_private/isAvailable/test.js
+++ b/chrome/test/data/extensions/api_test/hotword_private/getLaunchState/test.js
@@ -3,10 +3,11 @@
// found in the LICENSE file.
chrome.test.runTests([
- function isAvailable() {
- chrome.hotwordPrivate.getStatus(
+ function getLaunchState() {
+ chrome.hotwordPrivate.getLaunchState(
chrome.test.callbackPass(function(result) {
- chrome.test.sendMessage("available: " + result.available);
+ chrome.test.sendMessage("launchMode: " +
+ result.launchMode);
}));
}
]);

Powered by Google App Engine
This is Rietveld 408576698