From 8e38341c65360b48c32b88c58d6ac490516c0c0c Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Tue, 19 Oct 2010 16:57:03 +0000 Subject: FBTF: Even more ctor/virtual deinlining. (Only 424k off Linux debug .a files). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3859003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63059 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/bookmarks/bookmark_codec.cc | 2 ++ chrome/browser/bookmarks/bookmark_codec.h | 1 + chrome/browser/bookmarks/recently_used_folders_combo_model.cc | 2 ++ chrome/browser/bookmarks/recently_used_folders_combo_model.h | 1 + 4 files changed, 6 insertions(+) (limited to 'chrome/browser/bookmarks') diff --git a/chrome/browser/bookmarks/bookmark_codec.cc b/chrome/browser/bookmarks/bookmark_codec.cc index a4f0461..9b5be0f 100644 --- a/chrome/browser/bookmarks/bookmark_codec.cc +++ b/chrome/browser/bookmarks/bookmark_codec.cc @@ -40,6 +40,8 @@ BookmarkCodec::BookmarkCodec() maximum_id_(0) { } +BookmarkCodec::~BookmarkCodec() {} + Value* BookmarkCodec::Encode(BookmarkModel* model) { return Encode(model->GetBookmarkBarNode(), model->other_node()); } diff --git a/chrome/browser/bookmarks/bookmark_codec.h b/chrome/browser/bookmarks/bookmark_codec.h index 94c9213..fe57d1f 100644 --- a/chrome/browser/bookmarks/bookmark_codec.h +++ b/chrome/browser/bookmarks/bookmark_codec.h @@ -33,6 +33,7 @@ class BookmarkCodec { // guarantees on how the IDs are reassigned or about doing minimal // reassignments to achieve uniqueness. BookmarkCodec(); + ~BookmarkCodec(); // Encodes the model to a JSON value. It's up to the caller to delete the // returned object. This is invoked to encode the contents of the bookmark bar diff --git a/chrome/browser/bookmarks/recently_used_folders_combo_model.cc b/chrome/browser/bookmarks/recently_used_folders_combo_model.cc index e6309f4..7990de6 100644 --- a/chrome/browser/bookmarks/recently_used_folders_combo_model.cc +++ b/chrome/browser/bookmarks/recently_used_folders_combo_model.cc @@ -49,6 +49,8 @@ RecentlyUsedFoldersComboModel::RecentlyUsedFoldersComboModel( node_parent_index_ = static_cast(it - nodes_.begin()); } +RecentlyUsedFoldersComboModel::~RecentlyUsedFoldersComboModel() {} + int RecentlyUsedFoldersComboModel::GetItemCount() { return static_cast(nodes_.size() + 1); } diff --git a/chrome/browser/bookmarks/recently_used_folders_combo_model.h b/chrome/browser/bookmarks/recently_used_folders_combo_model.h index adf36a9..e8fcc75 100644 --- a/chrome/browser/bookmarks/recently_used_folders_combo_model.h +++ b/chrome/browser/bookmarks/recently_used_folders_combo_model.h @@ -18,6 +18,7 @@ class RecentlyUsedFoldersComboModel : public ComboboxModel { public: RecentlyUsedFoldersComboModel(BookmarkModel* model, const BookmarkNode* node); + virtual ~RecentlyUsedFoldersComboModel(); // Overridden from ComboboxModel: virtual int GetItemCount(); -- cgit v1.1