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

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
« no previous file with comments | « chrome/browser/resources/hotword_helper/manifest.json ('k') | chrome/browser/search/hotword_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/hotword_service.h
diff --git a/chrome/browser/search/hotword_service.h b/chrome/browser/search/hotword_service.h
index c4bf08bd98b1b9ba91785252849f80283ba0b898..9b22c84310ec015e1eeac5b8d5dba5f5ba2c10ae 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();
-
// Returns true if hotwording hardware is available.
static bool IsHotwordHardwareAvailable();
@@ -99,14 +95,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);
« no previous file with comments | « chrome/browser/resources/hotword_helper/manifest.json ('k') | chrome/browser/search/hotword_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698