summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search_engines/template_url_model.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/search_engines/template_url_model.h
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/search_engines/template_url_model.h')
-rw-r--r--chrome/browser/search_engines/template_url_model.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/search_engines/template_url_model.h b/chrome/browser/search_engines/template_url_model.h
index ce9a874..a16bad7 100644
--- a/chrome/browser/search_engines/template_url_model.h
+++ b/chrome/browser/search_engines/template_url_model.h
@@ -144,16 +144,17 @@ class TemplateURLModel : public WebDataServiceConsumer,
// If the given extension has an omnibox keyword, adds a TemplateURL for that
// keyword. Only 1 keyword is allowed for a given extension. If the keyword
// already exists for this extension, does nothing.
- void RegisterExtensionKeyword(Extension* extension);
+ void RegisterExtensionKeyword(const Extension* extension);
// Removes the TemplateURL containing the keyword for the given extension,
// if any.
- void UnregisterExtensionKeyword(Extension* extension);
+ void UnregisterExtensionKeyword(const Extension* extension);
// Returns the TemplateURL associated with the keyword for this extension.
// This works by checking the extension ID, not the keyword, so it will work
// even if the user changed the keyword.
- const TemplateURL* GetTemplateURLForExtension(Extension* extension) const;
+ const TemplateURL* GetTemplateURLForExtension(
+ const Extension* extension) const;
// Returns the set of URLs describing the keywords. The elements are owned
// by TemplateURLModel and should not be deleted.