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

Unified Diff: chrome/browser/search/hotword_service.h

Issue 559303002: Hotword Audio Verification app: control the hotword settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launch-state
Patch Set: Review Comments 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/search/hotword_service.h
diff --git a/chrome/browser/search/hotword_service.h b/chrome/browser/search/hotword_service.h
index 479c1b647d86b7ea939938ba2ca4e65bef61e53d..600883aadfafd0fa6d2fb8070edd5247b68693b4 100644
--- a/chrome/browser/search/hotword_service.h
+++ b/chrome/browser/search/hotword_service.h
@@ -76,10 +76,6 @@ class HotwordService : public content::NotificationObserver,
void EnableHotwordExtension(ExtensionService* extension_service);
void DisableHotwordExtension(ExtensionService* extension_service);
- // Handles launching the Hotword Audio Verification extension when the user
- // turns it on via the settings menu.
- void OnHotwordAlwaysOnSearchEnabledChanged(const std::string& pref_name);
-
// Handles enabling/disabling the hotword extension when the user
// turns it off via the settings menu.
void OnHotwordSearchEnabledChanged(const std::string& pref_name);
@@ -120,7 +116,8 @@ class HotwordService : public content::NotificationObserver,
enum LaunchMode {
AUDIO_HISTORY_ONLY,
HOTWORD_ONLY,
- HOTWORD_AND_AUDIO_HISTORY
+ HOTWORD_AND_AUDIO_HISTORY,
+ SPEECH_TRAINING
};
void LaunchHotwordAudioVerificationApp(const LaunchMode& launch_mode);
virtual LaunchMode GetHotwordAudioVerificationLaunchMode();

Powered by Google App Engine
This is Rietveld 408576698