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

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

Issue 1027683002: Hotword Private API: Add function and event to query the existence of a speaker model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Upload remaining test files 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/search/hotword_service.cc
diff --git a/chrome/browser/search/hotword_service.cc b/chrome/browser/search/hotword_service.cc
index b9848fe8fd7e5a766fde5547d6d5cf0b5afdb770..908a75b961e63e83383d775fb775ca23ecfd64ae 100644
--- a/chrome/browser/search/hotword_service.cc
+++ b/chrome/browser/search/hotword_service.cc
@@ -744,8 +744,7 @@ void HotwordService::OptIntoHotwording(
BrowserContextKeyedAPIFactory<HotwordPrivateEventService>::Get(
profile_);
if (event_service) {
- // TODO(kcarattini): add this call once it's implemented in the API.
- // event_service->SpeakerModelExists();
+ event_service->OnSpeakerModelExists();
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698