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

Unified Diff: ui/app_list/app_list_switches.cc

Issue 217423002: Removes Experimental hotword-always-on feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | « ui/app_list/app_list_switches.h ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « ui/app_list/app_list_switches.h ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698