| Index: chrome/browser/search_engines/search_host_to_urls_map.h
|
| diff --git a/chrome/browser/search_engines/search_host_to_urls_map.h b/chrome/browser/search_engines/search_host_to_urls_map.h
|
| index e4692fbd381e59b69b586ec625f5863c78551f89..a365a87fb9074eb858ab9d09b7d8ec63ec051427 100644
|
| --- a/chrome/browser/search_engines/search_host_to_urls_map.h
|
| +++ b/chrome/browser/search_engines/search_host_to_urls_map.h
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "base/basictypes.h"
|
|
|
| +class Profile;
|
| class SearchTermsData;
|
| class TemplateURL;
|
|
|
| @@ -36,14 +37,15 @@ class SearchHostToURLsMap {
|
| const SearchTermsData& search_terms_data);
|
|
|
| // Removes the TemplateURL from the lookup.
|
| - void Remove(const TemplateURL* template_url);
|
| + void Remove(const TemplateURL* template_url, Profile* profile);
|
|
|
| // 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);
|
| + const SearchTermsData& search_terms_data,
|
| + Profile* profile);
|
|
|
| // Updates all search providers which have a google base url.
|
| void UpdateGoogleBaseURLs(const SearchTermsData& search_terms_data);
|
|
|