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

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

Issue 2599923002: Run tools/clang-format-js on chrome/browser/resources/hotword/ (Closed)
Patch Set: no dep Created 3 years, 12 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/audio_client.js
diff --git a/chrome/browser/resources/hotword/audio_client.js b/chrome/browser/resources/hotword/audio_client.js
index f74f84b15f372f3d49363ddb4cf2fd6560e07640..b3343b43aa928e42b8f222d5b089cb671bcbc785 100644
--- a/chrome/browser/resources/hotword/audio_client.js
+++ b/chrome/browser/resources/hotword/audio_client.js
@@ -133,8 +133,9 @@
*/
AudioClient.prototype.checkSpeechOverlayUi_ = function() {
if (!this.speechOverlay_) {
- window.setTimeout(this.delayedCheckSpeechOverlayUi_.bind(this),
- AudioClient.RETRY_TIME_MS_);
+ window.setTimeout(
+ this.delayedCheckSpeechOverlayUi_.bind(this),
+ AudioClient.RETRY_TIME_MS_);
} else {
this.checkSpeechUiRetries_ = 0;
}
@@ -147,8 +148,8 @@
* @private
*/
AudioClient.prototype.delayedCheckSpeechOverlayUi_ = function() {
- this.speechOverlay_ = document.getElementById(
- AudioClient.SPEECH_UI_OVERLAY_ID_);
+ this.speechOverlay_ =
+ document.getElementById(AudioClient.SPEECH_UI_OVERLAY_ID_);
if (!this.speechOverlay_) {
if (this.checkSpeechUiRetries_++ < AudioClient.MAX_RETRIES) {
this.sendCommandToPage_(AudioClient.CommandToPage.VOICE_TRIGGER);
@@ -167,9 +168,8 @@
* @private
*/
AudioClient.prototype.checkUi_ = function(command) {
- this.uiStatus_[command].timeoutId =
- window.setTimeout(this.failedCheckUi_.bind(this, command),
- AudioClient.RETRY_TIME_MS_);
+ this.uiStatus_[command].timeoutId = window.setTimeout(
+ this.failedCheckUi_.bind(this, command), AudioClient.RETRY_TIME_MS_);
};
/**
« no previous file with comments | « chrome/browser/resources/hotword/always_on_manager.js ('k') | chrome/browser/resources/hotword/base_session_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698