summaryrefslogtreecommitdiffstats
path: root/chrome/browser/parsers
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-22 17:28:43 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-22 17:28:43 +0000
commit38e0898607eea03649b7b07e9cf890af7dc33ac7 (patch)
tree6ac95fd496661a6e0718c349bba089144e0fef09 /chrome/browser/parsers
parent2a9662e31f18f77b856487b7266c70ccede557e0 (diff)
downloadchromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.zip
chromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.tar.gz
chromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.tar.bz2
FBTF: More dtor deinlining. (Can almost see the end!)
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3962004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/parsers')
-rw-r--r--chrome/browser/parsers/metadata_parser_filebase.cc8
-rw-r--r--chrome/browser/parsers/metadata_parser_filebase.h4
2 files changed, 10 insertions, 2 deletions
diff --git a/chrome/browser/parsers/metadata_parser_filebase.cc b/chrome/browser/parsers/metadata_parser_filebase.cc
index 0146f3f..123cb6f 100644
--- a/chrome/browser/parsers/metadata_parser_filebase.cc
+++ b/chrome/browser/parsers/metadata_parser_filebase.cc
@@ -9,10 +9,12 @@
#include "base/utf_string_conversions.h"
FileMetadataParser::FileMetadataParser(const FilePath& path)
- : MetadataParser(path) {
- path_ = path;
+ : MetadataParser(path),
+ path_(path) {
}
+FileMetadataParser::~FileMetadataParser() {}
+
bool FileMetadataParser::Parse() {
std::string value;
int64 size;
@@ -48,6 +50,8 @@ FileMetadataPropertyIterator::FileMetadataPropertyIterator(
it = properties_.begin();
}
+FileMetadataPropertyIterator::~FileMetadataPropertyIterator() {}
+
bool FileMetadataPropertyIterator::GetNext(std::string* key,
std::string* value) {
if (it == properties_.end()) {
diff --git a/chrome/browser/parsers/metadata_parser_filebase.h b/chrome/browser/parsers/metadata_parser_filebase.h
index 8b232a2..9ed5775 100644
--- a/chrome/browser/parsers/metadata_parser_filebase.h
+++ b/chrome/browser/parsers/metadata_parser_filebase.h
@@ -21,6 +21,8 @@ class FileMetadataParser : public MetadataParser {
public:
explicit FileMetadataParser(const FilePath& path);
+ virtual ~FileMetadataParser();
+
// Implementation of MetadataParser
virtual bool Parse();
virtual bool GetProperty(const std::string& key, std::string* value);
@@ -39,6 +41,8 @@ class FileMetadataPropertyIterator : public MetadataPropertyIterator {
public:
explicit FileMetadataPropertyIterator(PropertyMap& properties);
+ virtual ~FileMetadataPropertyIterator();
+
// Implementation of MetadataPropertyIterator
virtual bool GetNext(std::string* key, std::string* value);
virtual int Length();