diff options
author | pkasting@google.com <pkasting@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-01 17:38:56 +0000 |
---|---|---|
committer | pkasting@google.com <pkasting@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-01 17:38:56 +0000 |
commit | fab288ae66e4e45b792d929aa44210fd8104f5e7 (patch) | |
tree | b737518357c503bce66334bcc59309cdcc4e509c /chrome/browser/template_url_model.h | |
parent | 1fcb8b01fe855dde2485b82d620cdaecb580a3bd (diff) | |
download | chromium_src-fab288ae66e4e45b792d929aa44210fd8104f5e7.zip chromium_src-fab288ae66e4e45b792d929aa44210fd8104f5e7.tar.gz chromium_src-fab288ae66e4e45b792d929aa44210fd8104f5e7.tar.bz2 |
Add the ability to dynamically generate keywords. Mark the Google engine as needing this. This ensures that users in countries where the Google base URL is not "google.com" will see the appropriate keyword for their local country (and can trigger it for tab-to-search, etc.).
BUG=1301290
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/template_url_model.h')
-rw-r--r-- | chrome/browser/template_url_model.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/template_url_model.h b/chrome/browser/template_url_model.h index ae90dc5..9ea3137 100644 --- a/chrome/browser/template_url_model.h +++ b/chrome/browser/template_url_model.h @@ -244,10 +244,10 @@ class TemplateURLModel : public WebDataServiceConsumer, void RemoveFromMaps(const TemplateURL* template_url); - // Removes the supplied template_url from host_to_urls_map. This searches - // through *all* entries in host_to_urls_map_ and does not generate the host. - // This is used when the host of the search term of the TemplateURL changes. - void RemoveFromHostMapByPointer(const TemplateURL* template_url); + // Removes the supplied template_url from the maps. This searches through all + // entries in the maps and does not generate the host or keyword. + // This is used when the cached content of the TemplateURL changes. + void RemoveFromMapsByPointer(const TemplateURL* template_url); void AddToMaps(const TemplateURL* template_url); |