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

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: Move old extension ID constant. 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
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 a3685c8bc2a25a617b911a3b63becd1ebe25d698..36ca97dfd7ffc51637682b8404dbb622cdf5fecf 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
@@ -219,8 +219,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.

Powered by Google App Engine
This is Rietveld 408576698