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

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

Issue 13727003: Remove unused BuildQueryTerms from TemplateURLService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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
« no previous file with comments | « no previous file | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ed946894d1f7c7e4bd402d80683344f99143e683..643dd0ae095fc7e1f181dce038c7a214d1ecf831 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -335,7 +335,6 @@ class TemplateURLService : public WebDataServiceConsumer,
const string16& term);
private:
- FRIEND_TEST_ALL_PREFIXES(TemplateURLServiceTest, BuildQueryTerms);
FRIEND_TEST_ALL_PREFIXES(TemplateURLServiceTest, TestManagedDefaultSearch);
FRIEND_TEST_ALL_PREFIXES(TemplateURLServiceTest,
UpdateKeywordSearchTermsForURL);
@@ -465,14 +464,6 @@ class TemplateURLService : public WebDataServiceConsumer,
// If necessary, generates a visit for the site http:// + t_url.keyword().
void AddTabToSearchVisit(const TemplateURL& t_url);
- // Adds each of the query terms in the specified url whose key and value are
- // non-empty to query_terms. If a query key appears multiple times, the value
- // is set to an empty string. Returns true if there is at least one key that
- // does not occur multiple times.
- static bool BuildQueryTerms(
- const GURL& url,
- std::map<std::string, std::string>* query_terms);
-
// Invoked when the Google base URL has changed. Updates the mapping for all
// TemplateURLs that have a replacement term of {google:baseURL} or
// {google:baseSuggestURL}.
« no previous file with comments | « no previous file | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698