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

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

Issue 555423002: Expose always-on hotword preference via hotwordPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/test/data/extensions/api_test/hotword_private/alwaysOnEnabled/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/hotword_private/alwaysOnEnabled/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/alwaysOnEnabled/test.js
similarity index 72%
copy from chrome/test/data/extensions/api_test/hotword_private/isAvailable/test.js
copy to chrome/test/data/extensions/api_test/hotword_private/alwaysOnEnabled/test.js
index 01ef5b831bdf78a537d8199de612f683ac0bd265..97f6973e215dd9b3175086cf5f3cc134e2afb2ec 100644
--- a/chrome/test/data/extensions/api_test/hotword_private/isAvailable/test.js
+++ b/chrome/test/data/extensions/api_test/hotword_private/alwaysOnEnabled/test.js
@@ -3,10 +3,10 @@
// found in the LICENSE file.
chrome.test.runTests([
- function isAvailable() {
+ function alwaysOnEnabled() {
chrome.hotwordPrivate.getStatus(
chrome.test.callbackPass(function(result) {
- chrome.test.sendMessage("available: " + result.available);
+ chrome.test.sendMessage("alwaysOnEnabled: " + result.alwaysOnEnabled);
}));
}
]);
« no previous file with comments | « chrome/test/data/extensions/api_test/hotword_private/alwaysOnEnabled/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698