Index: chrome/browser/search_engines/search_terms_data.h |
diff --git a/chrome/browser/search_engines/search_terms_data.h b/chrome/browser/search_engines/search_terms_data.h |
index 41882bb103706ba08025e2a599e0b14db655f24c..6fc93ca8c8e7aa1e8df2d9814fdfb0663e49a696 100644 |
--- a/chrome/browser/search_engines/search_terms_data.h |
+++ b/chrome/browser/search_engines/search_terms_data.h |
@@ -54,6 +54,10 @@ class SearchTermsData { |
// the returned string to be non-empty. |
virtual std::string ForceInstantResultsParam(bool for_prerender) const; |
+ // Returns a string that will cause the search results page to autoplay audio |
+ // playback with answers. |
+ virtual std::string VoiceInputSourceParam(bool is_voice_input_source) const; |
+ |
// Returns a string indicating whether InstantExtended is enabled, suitable |
// for adding as a query string param to the homepage or search requests. |
// Returns an empty string otherwise. Determining this requires accessing the |
@@ -86,6 +90,8 @@ class UIThreadSearchTermsData : public SearchTermsData { |
virtual std::string GetSuggestClient() const OVERRIDE; |
virtual std::string ForceInstantResultsParam( |
bool for_prerender) const OVERRIDE; |
+ virtual std::string VoiceInputSourceParam( |
+ bool is_voice_input_source) const OVERRIDE; |
virtual std::string InstantExtendedEnabledParam() const OVERRIDE; |
virtual std::string NTPIsThemedParam() const OVERRIDE; |