| Index: chrome/browser/search/hotword_client.h
|
| diff --git a/chrome/browser/search/hotword_client.h b/chrome/browser/search/hotword_client.h
|
| index 8862b90d5bbd9cd7c5b16299e0561b74903fb2b2..13d2f35e5623fb4767975fdf4f9fecf7683614f7 100644
|
| --- a/chrome/browser/search/hotword_client.h
|
| +++ b/chrome/browser/search/hotword_client.h
|
| @@ -5,6 +5,12 @@
|
| #ifndef CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
|
| #define CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
|
|
|
| +#include "base/memory/ref_counted.h"
|
| +
|
| +namespace content {
|
| +struct SpeechRecognitionSessionPreamble;
|
| +}
|
| +
|
| class HotwordClient {
|
| public:
|
| virtual ~HotwordClient() {}
|
| @@ -13,7 +19,9 @@ class HotwordClient {
|
| virtual void OnHotwordStateChanged(bool started) {}
|
|
|
| // Called when the hotword is recognized.
|
| - virtual void OnHotwordRecognized() = 0;
|
| + virtual void OnHotwordRecognized(
|
| + const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble)
|
| + = 0;
|
| };
|
|
|
| #endif // CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
|
|
|