summaryrefslogtreecommitdiffstats
path: root/chrome/browser/parsers/metadata_parser_manager.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 21:13:35 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 21:13:35 +0000
commit26aaec01fc9c98a3866683621cc06ad744de0a16 (patch)
treef49be87ced5f2e70bd4a1772446b6913db1e0fbc /chrome/browser/parsers/metadata_parser_manager.h
parent421dd05db9092a15df1a2c5c1011c588148078db (diff)
downloadchromium_src-26aaec01fc9c98a3866683621cc06ad744de0a16.zip
chromium_src-26aaec01fc9c98a3866683621cc06ad744de0a16.tar.gz
chromium_src-26aaec01fc9c98a3866683621cc06ad744de0a16.tar.bz2
Cleanup: Use ScopedVector in MetadataParserManager.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2829014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/parsers/metadata_parser_manager.h')
-rw-r--r--chrome/browser/parsers/metadata_parser_manager.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/parsers/metadata_parser_manager.h b/chrome/browser/parsers/metadata_parser_manager.h
index 97e289c..237553e 100644
--- a/chrome/browser/parsers/metadata_parser_manager.h
+++ b/chrome/browser/parsers/metadata_parser_manager.h
@@ -5,9 +5,8 @@
#ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_MANAGER_H_
#define CHROME_BROWSER_PARSERS_METADATA_PARSER_MANAGER_H_
-#include <vector>
-
#include "base/basictypes.h"
+#include "base/scoped_vector.h"
class MetadataParserFactory;
class FilePath;
@@ -19,7 +18,6 @@ class MetadataParserManager {
public:
// Creates a new MetadataParserManager.
MetadataParserManager();
- ~MetadataParserManager();
// Gets the singleton
static MetadataParserManager* Get();
@@ -32,7 +30,7 @@ class MetadataParserManager {
MetadataParser* GetParserForFile(const FilePath& path);
private:
- std::vector<MetadataParserFactory*> factories_;
+ ScopedVector<MetadataParserFactory> factories_;
DISALLOW_COPY_AND_ASSIGN(MetadataParserManager);
};