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

Unified Diff: chrome/browser/extensions/api/hotword_private/hotword_private_api.cc

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/browser_resources.grd ('k') | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc b/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
index 04c16a6bc35672380f727878e4861c5e5fa04bb0..d38013a83fd14dcef5528c3625214ee2a6957546 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
@@ -226,8 +226,7 @@ bool HotwordPrivateNotifyHotwordRecognitionFunction::RunSync() {
hotword_service->NotifyHotwordTriggered();
} else if (hotword_service->client()) {
hotword_service->client()->OnHotwordRecognized(preamble);
- } else if (HotwordService::IsExperimentalHotwordingEnabled() &&
- hotword_service->IsAlwaysOnEnabled()) {
+ } else if (hotword_service->IsAlwaysOnEnabled()) {
Browser* browser = GetCurrentBrowser();
// If a Browser does not exist, fall back to the universally available,
// but not recommended, way.
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698