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

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

Issue 658393003: Fix some straight-forward closure compiler errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/page_audio_manager.js
diff --git a/chrome/browser/resources/hotword/page_audio_manager.js b/chrome/browser/resources/hotword/page_audio_manager.js
index d26190e59b63b6949a8dbc0ba74f4980d7bfe62c..e17d63612703711bddbdbb011ef1efa8775d32b8 100644
--- a/chrome/browser/resources/hotword/page_audio_manager.js
+++ b/chrome/browser/resources/hotword/page_audio_manager.js
@@ -12,7 +12,7 @@ cr.define('hotword', function() {
* pages.
* @param {!hotword.StateManager} stateManager
* @constructor
- * @struct
+ * @class
*/
function PageAudioManager(stateManager) {
/**
@@ -24,7 +24,7 @@ cr.define('hotword', function() {
/**
* Mapping between tab ID and port that is connected from the injected
* content script.
- * @private {!Object.<number, chrome.runtime.Port>}
+ * @private {!Object.<number, Port>}
*/
this.portMap_ = {};
@@ -308,7 +308,7 @@ cr.define('hotword', function() {
});
},
- /*
+ /**
* Starts hotwording.
* @private
*/
@@ -321,7 +321,7 @@ cr.define('hotword', function() {
this.hotwordTriggered_.bind(this));
},
- /*
+ /**
* Starts hotwording if the currently active tab is eligible for hotwording
* (i.e. google.com).
* @private
@@ -337,7 +337,7 @@ cr.define('hotword', function() {
});
},
- /*
+ /**
* Stops hotwording.
* @private
*/
@@ -346,7 +346,7 @@ cr.define('hotword', function() {
this.sendAllClients_(CommandToPage.HOTWORD_ENDED);
},
- /*
+ /**
* Stops hotwording if the currently active tab is not eligible for
* hotwording (i.e. google.com).
* @private

Powered by Google App Engine
This is Rietveld 408576698