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

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

Issue 992173002: Delete the old hotwording integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hotword-remove-disable-option
Patch Set: Rebase Created 5 years, 9 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 2c0e086ba12c99f80ae2c522cc5e681ecea7649f..b659371f05c8d5236729947d7034e1ed3931f34e 100644
--- a/chrome/browser/search/hotword_service.h
+++ b/chrome/browser/search/hotword_service.h
@@ -60,10 +60,6 @@ class HotwordService : public extensions::ExtensionRegistryObserver,
// Returns true if the hotword supports the current system language.
static bool DoesHotwordSupportLanguage(Profile* profile);
- // Always returns true.
- // TODO(amistry): Remove this.
- static bool IsExperimentalHotwordingEnabled();
-
explicit HotwordService(Profile* profile);
~HotwordService() override;
@@ -96,14 +92,6 @@ class HotwordService : public extensions::ExtensionRegistryObserver,
// Returns whether google.com/NTP/launcher hotwording is enabled.
bool IsSometimesOnEnabled();
- // Control the state of the hotword extension.
- void EnableHotwordExtension(ExtensionService* extension_service);
- void DisableHotwordExtension(ExtensionService* extension_service);
-
- // Handles enabling/disabling the hotword extension when the user
- // turns it off via the settings menu.
- void OnHotwordSearchEnabledChanged(const std::string& pref_name);
-
// Handles enabling/disabling the hotword notification when the user
// changes the always on search settings.
void OnHotwordAlwaysOnSearchEnabledChanged(const std::string& pref_name);

Powered by Google App Engine
This is Rietveld 408576698