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

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

Issue 10458077: When the Google base URL changes and causes keyword updates, save those to the database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: chrome/browser/search_engines/search_host_to_urls_map.h
===================================================================
--- chrome/browser/search_engines/search_host_to_urls_map.h (revision 139570)
+++ chrome/browser/search_engines/search_host_to_urls_map.h (working copy)
@@ -33,11 +33,9 @@
const SearchTermsData& search_terms_data);
// Removes the TemplateURL from the lookup.
- void Remove(TemplateURL* template_url);
+ void Remove(TemplateURL* template_url,
+ const SearchTermsData& search_terms_data);
- // Updates all search providers which have a google base url.
- void UpdateGoogleBaseURLs(const SearchTermsData& search_terms_data);
-
// Returns the first TemplateURL found with a URL using the specified |host|,
// or NULL if there are no such TemplateURLs
TemplateURL* GetTemplateURLForHost(const std::string& host);

Powered by Google App Engine
This is Rietveld 408576698