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

Unified Diff: chrome/browser/resources/hotword_audio_verification/flow.js

Issue 559303002: Hotword Audio Verification app: control the hotword settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launch-state
Patch Set: Re-add lost code, small change to browser_options.js 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
Index: chrome/browser/resources/hotword_audio_verification/flow.js
diff --git a/chrome/browser/resources/hotword_audio_verification/flow.js b/chrome/browser/resources/hotword_audio_verification/flow.js
index f7f009d8a03adc19735a92e4874a9e1a45c73273..a0339a913eeebd3f3f227882a9138a9e8645bb27 100644
--- a/chrome/browser/resources/hotword_audio_verification/flow.js
+++ b/chrome/browser/resources/hotword_audio_verification/flow.js
@@ -18,9 +18,12 @@
* @const
*/
var FLOWS = [
+ // TODO(kcarattini): Remove the first flow, since we will not be
+ // managing the Audio History Setting in Chrome anymore.
[AUDIO_HISTORY_START],
[HOTWORD_ONLY_START, SPEECH_TRAINING, FINISHED],
- [HOTWORD_AUDIO_HISTORY, SPEECH_TRAINING, FINISHED]
+ [HOTWORD_AUDIO_HISTORY, SPEECH_TRAINING, FINISHED],
+ [SPEECH_TRAINING, FINISHED]
];
/**

Powered by Google App Engine
This is Rietveld 408576698