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

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

Issue 9982018: Move most TemplateURL data members to a new struct, TemplateURLData. This allows us to eliminate t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/search_engines/search_host_to_urls_map.h
===================================================================
--- chrome/browser/search_engines/search_host_to_urls_map.h (revision 130759)
+++ chrome/browser/search_engines/search_host_to_urls_map.h (working copy)
@@ -38,13 +38,6 @@
// Removes the TemplateURL from the lookup.
void Remove(const TemplateURL* template_url);
- // Updates information in an existing TemplateURL. Note: Using Remove and
- // then Add separately would lead to race conditions in reading because the
- // lock would be released inbetween the calls.
- void Update(const TemplateURL* existing_turl,
- const TemplateURL& new_values,
- const SearchTermsData& search_terms_data);
-
// Updates all search providers which have a google base url.
void UpdateGoogleBaseURLs(const SearchTermsData& search_terms_data);

Powered by Google App Engine
This is Rietveld 408576698