Chromium Code Reviews| Index: chrome/browser/ui/search/instant_search_prerenderer.h |
| diff --git a/chrome/browser/ui/search/instant_search_prerenderer.h b/chrome/browser/ui/search/instant_search_prerenderer.h |
| index dba90417772e424a779827ae8596849cecf83922..e0eac1ada0e93f35375af78c2bd3328ccb13e0c5 100644 |
| --- a/chrome/browser/ui/search/instant_search_prerenderer.h |
| +++ b/chrome/browser/ui/search/instant_search_prerenderer.h |
| @@ -82,6 +82,11 @@ class InstantSearchPrerenderer { |
| bool IsAllowed(const AutocompleteMatch& match, |
| content::WebContents* source) const; |
| + // Extracts and returns search terms from |url|. Does not consider |
| + // IsQueryExtractionEnabled() and Instant support state of the page and does |
| + // not check for a privileged process. |
| + base::string16 GetSearchTermsFromURL(const GURL& url) const; |
|
Jered
2014/02/07 03:02:26
This code would be more appropriate in search.cc.
kmadhusu
2014/02/11 01:40:02
Done.
|
| + |
| private: |
| friend class InstantSearchPrerendererTest; |