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

Unified Diff: chrome/browser/search/hotword_service_factory.cc

Issue 838753004: Re-enable always-on hotwording for m42 on supported hardware. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/hotword_service_factory.cc
diff --git a/chrome/browser/search/hotword_service_factory.cc b/chrome/browser/search/hotword_service_factory.cc
index 174f375a4ffcf42e5a020caaf57eb2d4ed55b6c6..8884ad6c9f9becf3a80a9e1fde44c07e53ecd4c0 100644
--- a/chrome/browser/search/hotword_service_factory.cc
+++ b/chrome/browser/search/hotword_service_factory.cc
@@ -47,9 +47,6 @@ bool HotwordServiceFactory::IsHotwordAllowed(BrowserContext* context) {
// static
bool HotwordServiceFactory::IsHotwordHardwareAvailable() {
-// Temporarily disabling hotword hardware check for M41. Will be
-// re-enabled for M42.
-#if 0
#if defined(OS_CHROMEOS)
if (chromeos::CrasAudioHandler::IsInitialized()) {
chromeos::AudioDeviceList devices;
@@ -62,7 +59,6 @@ bool HotwordServiceFactory::IsHotwordHardwareAvailable() {
}
}
#endif
-#endif // 0
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
return command_line->HasSwitch(switches::kEnableExperimentalHotwordHardware);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698