Index: chrome/browser/autocomplete/autocomplete.h |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete.h (revision 93757) |
+++ chrome/browser/autocomplete/autocomplete.h (working copy) |
@@ -667,6 +667,11 @@ |
// the popup to ensure it's not showing an out-of-date query. |
void ExpireCopiedEntries(); |
+ // If |text| corresponds (in the sense of |
+ // TemplateURLModel::CleanUserInputKeyword()) to an enabled, substituting |
+ // keyword, returns that keyword; returns the empty string otherwise. |
+ string16 GetKeywordForText(const string16& text) const; |
+ |
#ifdef UNIT_TEST |
void set_search_provider(SearchProvider* provider) { |
search_provider_ = provider; |
@@ -721,6 +726,8 @@ |
// invokes |ExpireCopiedEntries|. |
base::OneShotTimer<AutocompleteController> expire_timer_; |
+ Profile* profile_; |
+ |
// True if a query is not currently running. |
bool done_; |