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

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

Issue 658393003: Fix some straight-forward closure compiler errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the @class annotation. 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
« no previous file with comments | « chrome/browser/resources/hotword/page_audio_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/hotword/state_manager.js
diff --git a/chrome/browser/resources/hotword/state_manager.js b/chrome/browser/resources/hotword/state_manager.js
index f71755d3cb4f7d28fd375b35afc46a88b3c75654..9b033da9fdf714e25c897c7c945eb12ec873645f 100644
--- a/chrome/browser/resources/hotword/state_manager.js
+++ b/chrome/browser/resources/hotword/state_manager.js
@@ -42,7 +42,6 @@ cr.define('hotword', function() {
* on user settings, session requests, and any other factors that play into
* whether or not hotwording should be running.
* @constructor
- * @struct
*/
function StateManager() {
/**
@@ -65,21 +64,22 @@ cr.define('hotword', function() {
/**
* Currently active hotwording sessions.
- * @private {!Array.<hotword.Session_>}
+ * @private {!Array.<Session_>}
*/
this.sessions_ = [];
/**
* Event that fires when the hotwording status has changed.
- * @type {!chrome.Event}
+ * @type {!ChromeEvent}
*/
this.onStatusChanged = new chrome.Event();
/**
* Hotword trigger audio notification... a.k.a The Chime (tm).
- * @private {!Audio}
+ * @private {!HTMLAudioElement}
*/
- this.chime_ = document.createElement('audio');
+ this.chime_ =
+ /** @type {!HTMLAudioElement} */(document.createElement('audio'));
// Get the initial status.
chrome.hotwordPrivate.getStatus(this.handleStatus_.bind(this));
« no previous file with comments | « chrome/browser/resources/hotword/page_audio_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698