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

Unified Diff: chrome/browser/search_engines/template_url.h

Issue 3162047: FBTF: Move some heavy, repeatedly emitted symbols to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac fixes Created 10 years, 4 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/prefs/command_line_pref_store.cc ('k') | chrome/browser/search_engines/template_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1cee283a9be70f12ec956a2085ff94c899a54078..bb83557094c12c65d3367eaf368f95c4a6bd6a1e 100644
--- a/chrome/browser/search_engines/template_url.h
+++ b/chrome/browser/search_engines/template_url.h
@@ -49,14 +49,9 @@ class TemplateURLRef {
TemplateURLRef();
- TemplateURLRef(const std::string& url, int index_offset, int page_offset)
- : url_(url),
- index_offset_(index_offset),
- page_offset_(page_offset),
- parsed_(false),
- valid_(false),
- supports_replacements_(false) {
- }
+ TemplateURLRef(const std::string& url, int index_offset, int page_offset);
+
+ ~TemplateURLRef();
// Returns true if this URL supports replacement.
bool SupportsReplacement() const;
@@ -269,18 +264,8 @@ class TemplateURL {
// replacement.
static bool SupportsReplacement(const TemplateURL* turl);
- TemplateURL()
- : autogenerate_keyword_(false),
- keyword_generated_(false),
- show_in_default_list_(false),
- safe_for_autoreplace_(false),
- id_(0),
- date_created_(base::Time::Now()),
- usage_count_(0),
- search_engine_type_(TemplateURLPrepopulateData::SEARCH_ENGINE_OTHER),
- logo_id_(0),
- prepopulate_id_(0) {}
- ~TemplateURL() {}
+ TemplateURL();
+ ~TemplateURL();
// A short description of the template. This is the name we show to the user
// in various places that use keywords. For example, the location bar shows
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store.cc ('k') | chrome/browser/search_engines/template_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698