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

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

Issue 467113004: Adds a skeleton component app for Always-On Hotwording opt-in flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 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 8d6862d8d59c6fec2d55fe468a2abe4bbf08420e..c871684914afe3c20f7e257e368548e21c7edfd6 100644
--- a/chrome/browser/search/hotword_service.h
+++ b/chrome/browser/search/hotword_service.h
@@ -76,6 +76,10 @@ 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);
« no previous file with comments | « chrome/browser/resources/hotword_audio_verification/manifest.json ('k') | chrome/browser/search/hotword_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698