diff options
author | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 15:11:22 +0000 |
---|---|---|
committer | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 15:11:22 +0000 |
commit | a4feef8f23c9aed533bcd8b35e594fe3cf300a23 (patch) | |
tree | 9ce681a0ae7b0a30d00b54cb8bccc3a3ad7562c6 /chrome/browser/template_url.h | |
parent | 5f945e0f45394453602083b22206acb4cde3db4f (diff) | |
download | chromium_src-a4feef8f23c9aed533bcd8b35e594fe3cf300a23.zip chromium_src-a4feef8f23c9aed533bcd8b35e594fe3cf300a23.tar.gz chromium_src-a4feef8f23c9aed533bcd8b35e594fe3cf300a23.tar.bz2 |
Port some more of chrome/ to Linux.
Original review: http://codereview.chromium.org/4247
Patch from Pawel Hajdan Jr.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/template_url.h')
-rw-r--r-- | chrome/browser/template_url.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/template_url.h b/chrome/browser/template_url.h index a1168ca..bbb752e 100644 --- a/chrome/browser/template_url.h +++ b/chrome/browser/template_url.h @@ -9,7 +9,6 @@ #include "base/basictypes.h" #include "base/time.h" -#include "chrome/common/l10n_util.h" #include "googleurl/src/gurl.h" class TemplateURL; @@ -307,12 +306,7 @@ class TemplateURL { const GURL& originating_url() const { return originating_url_; } // The shortcut for this template url. May be empty. - void set_keyword(const std::wstring& keyword) { - // Case sensitive keyword matching is confusing. As such, we force all - // keywords to be lower case. - keyword_ = l10n_util::ToLower(keyword); - autogenerate_keyword_ = false; - } + void set_keyword(const std::wstring& keyword); const std::wstring& keyword() const; // Whether to autogenerate a keyword from the url() in GetKeyword(). Most |