Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: chrome/browser/search_engines/template_url_service.h

Issue 11415292: [Search] No longer reverting omnibox text on instant search (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix tests Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/template_url_service.h
diff --git a/chrome/browser/search_engines/template_url_service.h b/chrome/browser/search_engines/template_url_service.h
index 8dfcdb8f9e3d2d0dd78dc808cc3f244b06f641bc..91c6bdc132ec60cedcabee0eb4d32fdaaee6fca0 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -129,6 +129,9 @@ class TemplateURLService : public WebDataServiceConsumer,
bool support_replacement_only,
std::vector<string16>* matches) const;
+ // Attempt to extract search terms from the supplied |url|.
+ string16 TryToExtractSearchTermsFromURL(const GURL& url);
+
// Looks up |keyword| and returns the element it maps to. Returns NULL if
// the keyword was not found.
// The caller should not try to delete the returned pointer; the data store

Powered by Google App Engine
This is Rietveld 408576698