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

Unified Diff: chrome/browser/resources/hotword/base_session_manager.js

Issue 687323003: Adds a Training Manager to the hotword extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tp3-api
Patch Set: 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/browser/resources/hotword/base_session_manager.js
diff --git a/chrome/browser/resources/hotword/base_session_manager.js b/chrome/browser/resources/hotword/base_session_manager.js
index 8ec39b01e7393a7e1c8df6879e42386fdba8a2a6..7ea30069ba6049ed4f60a65b52c4c6286488fd6b 100644
--- a/chrome/browser/resources/hotword/base_session_manager.js
+++ b/chrome/browser/resources/hotword/base_session_manager.js
@@ -69,7 +69,7 @@ cr.define('hotword', function() {
function() {
chrome.hotwordPrivate.setHotwordSessionState(true, function() {});
},
- this.handleHotwordTrigger_.bind(this));
+ this.handleHotwordTrigger.bind(this));
},
/**
@@ -83,9 +83,9 @@ cr.define('hotword', function() {
/**
* Handles a hotword triggered event.
- * @private
+ * @protected
*/
- handleHotwordTrigger_: function() {
+ handleHotwordTrigger: function() {
hotword.debug('Hotword triggered: ' + this.sessionSource_);
chrome.hotwordPrivate.notifyHotwordRecognition('search', function() {});
},

Powered by Google App Engine
This is Rietveld 408576698