| Index: chrome/browser/search_engines/template_url.h
|
| diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h
|
| index 6fba137da66816fb4c5a162cfa714bbdfebd6b68..b5a357669fbc38e8e8a0d897eca9bad85f5ff3c0 100644
|
| --- a/chrome/browser/search_engines/template_url.h
|
| +++ b/chrome/browser/search_engines/template_url.h
|
| @@ -352,6 +352,10 @@ struct TemplateURLData {
|
| // search terms from a URL.
|
| std::vector<std::string> alternate_urls;
|
|
|
| + // A parameter that, if present in the query or ref parameters of a search_url
|
| + // or instant_url, causes Chrome to replace the URL with the search term.
|
| + std::string search_terms_replacement_key;
|
| +
|
| private:
|
| // Private so we can enforce using the setters and thus enforce that these
|
| // fields are never empty.
|
| @@ -427,6 +431,10 @@ class TemplateURL {
|
|
|
| const std::string& sync_guid() const { return data_.sync_guid; }
|
|
|
| + const std::string& search_terms_replacement_key() const {
|
| + return data_.search_terms_replacement_key;
|
| + }
|
| +
|
| const TemplateURLRef& url_ref() const { return url_ref_; }
|
| const TemplateURLRef& suggestions_url_ref() const {
|
| return suggestions_url_ref_;
|
|
|