Index: chrome/browser/ui/app_list/app_list_service.h |
diff --git a/chrome/browser/ui/app_list/app_list_service.h b/chrome/browser/ui/app_list/app_list_service.h |
index 2b982cbfb12a4deacfca37b5298f342ed34f77b5..278ecbb119caf92cdc57a3add169f90d48a98fd9 100644 |
--- a/chrome/browser/ui/app_list/app_list_service.h |
+++ b/chrome/browser/ui/app_list/app_list_service.h |
@@ -9,6 +9,7 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/ref_counted.h" |
#include "chrome/browser/ui/host_desktop.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -21,6 +22,10 @@ class CommandLine; |
class FilePath; |
} |
+namespace content { |
+struct SpeechRecognitionSessionPreamble; |
+} |
+ |
namespace gfx { |
class ImageSkia; |
} |
@@ -79,7 +84,10 @@ class AppListService { |
// Shows the app list, and switches to voice search. Used by always-on |
// hotwording. |
- virtual void ShowForVoiceSearch(Profile* profile) = 0; |
+ virtual void ShowForVoiceSearch( |
+ Profile* profile, |
+ const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble) |
+ = 0; |
// Shows the app list, and reveals the page that contains |extension_id|. This |
// should only be called for things that show in the app list, and only when |