diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 19:09:51 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 19:09:51 +0000 |
commit | a4081efac60ef7562660bb3e00536f87a51b9e53 (patch) | |
tree | 3ea47050d502f1f9bf05c5c3abc9c27453eafb14 /chrome/browser/search_engines/template_url.h | |
parent | 581125c6afa5ab170a16ff1d8fd42dae4100a7a5 (diff) | |
download | chromium_src-a4081efac60ef7562660bb3e00536f87a51b9e53.zip chromium_src-a4081efac60ef7562660bb3e00536f87a51b9e53.tar.gz chromium_src-a4081efac60ef7562660bb3e00536f87a51b9e53.tar.bz2 |
Makes TemplateURL::supports_instant persisted to the webdb.
BUG=54833
TEST=none
Review URL: http://codereview.chromium.org/3560008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines/template_url.h')
-rw-r--r-- | chrome/browser/search_engines/template_url.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h index 7a4f12d..b48da25 100644 --- a/chrome/browser/search_engines/template_url.h +++ b/chrome/browser/search_engines/template_url.h @@ -297,9 +297,9 @@ class TemplateURL { } const std::wstring& short_name() const { return short_name_; } - // Returns true if this search engine supports showing instant results. - // TODO(sky): make this real. - bool supports_instant() const { return false; } + // Whether the search engine supports instant. + void set_supports_instant(bool value) { supports_instant_ = value; } + bool supports_instant() const { return supports_instant_; } // An accessor for the short_name, but adjusted so it can be appropriately // displayed even if it is LTR and the UI is RTL. @@ -506,6 +506,9 @@ class TemplateURL { int logo_id_; int prepopulate_id_; + // See description above setter. + bool supports_instant_; + // TODO(sky): Add date last parsed OSD file. }; |