Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4385)

Unified Diff: chrome/browser/template_url.h

Issue 4247: Port some things in browser/{download,history}, minor things in common.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/safe_browsing/bloom_filter_unittest.cc ('k') | chrome/browser/template_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/template_url.h
===================================================================
--- chrome/browser/template_url.h (revision 2786)
+++ chrome/browser/template_url.h (working copy)
@@ -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 @@
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
« no previous file with comments | « chrome/browser/safe_browsing/bloom_filter_unittest.cc ('k') | chrome/browser/template_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698