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

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

Issue 809603003: Plumb preamble log data from the hotword extension into the speech recognizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build. Created 6 years 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_apitest.cc
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc b/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
index ee7ec5a816abedb8ff91379498ed835d01b694ec..b14bdedb27b9283b6fca0c45742de210bed6b118 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
@@ -124,7 +124,9 @@ class MockHotwordClient : public HotwordClient {
state_changed_count_++;
}
- void OnHotwordRecognized() override { recognized_count_++; }
+ void OnHotwordRecognized(
+ const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble)
+ override { recognized_count_++; }
bool last_enabled() const { return last_enabled_; }
int state_changed_count() const { return state_changed_count_; }
« no previous file with comments | « chrome/browser/extensions/api/hotword_private/hotword_private_api.cc ('k') | chrome/browser/search/hotword_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698