Index: ui/app_list/app_list_switches.cc |
diff --git a/ui/app_list/app_list_switches.cc b/ui/app_list/app_list_switches.cc |
index 31842f2563ba4d6eda73de4754602f7edbdaf9dd..be0e02156f939afb34bf6eb330d4d452613fa1c1 100644 |
--- a/ui/app_list/app_list_switches.cc |
+++ b/ui/app_list/app_list_switches.cc |
@@ -25,10 +25,6 @@ const char kEnableExperimentalAppList[] = "enable-experimental-app-list"; |
const char kEnableExperimentalAppListPosition[] = |
"enable-experimental-app-list-position"; |
-// If set, it will always listen to the audio locally and open the app-list |
-// when the hotword is recognized. |
-const char kEnableHotwordAlwaysOn[] = "enable-app-list-hotword-always-on"; |
- |
// Enables syncing of the app list independent of extensions. |
const char kEnableSyncAppList[] = "enable-sync-app-list"; |
@@ -58,15 +54,6 @@ bool IsVoiceSearchEnabled() { |
#endif |
} |
-bool IsHotwordAlwaysOnEnabled() { |
-#if defined(OS_CHROMEOS) |
- return IsVoiceSearchEnabled() && |
- CommandLine::ForCurrentProcess()->HasSwitch(kEnableHotwordAlwaysOn); |
-#else |
- return false; |
-#endif |
-} |
- |
bool IsAppInfoEnabled() { |
return CommandLine::ForCurrentProcess()->HasSwitch(kEnableAppInfo); |
} |