summaryrefslogtreecommitdiffstats
path: root/chrome/browser/parsers/metadata_parser_factory.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
commita3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch)
treebdd4dac76e6034ef6cf33450e203269a715ea0e6 /chrome/browser/parsers/metadata_parser_factory.h
parent8bc574c57115e9ffd0169f33131c0865997dcb35 (diff)
downloadchromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.zip
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.gz
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.bz2
Add FilePath to base namespace.
This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/parsers/metadata_parser_factory.h')
-rw-r--r--chrome/browser/parsers/metadata_parser_factory.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/parsers/metadata_parser_factory.h b/chrome/browser/parsers/metadata_parser_factory.h
index d1d1279..c6c5a26 100644
--- a/chrome/browser/parsers/metadata_parser_factory.h
+++ b/chrome/browser/parsers/metadata_parser_factory.h
@@ -7,7 +7,9 @@
#include "chrome/browser/parsers/metadata_parser.h"
+namespace base {
class FilePath;
+}
// Used to check to see if a parser can parse a particular file, and allows
// for creation of a parser on a particular file.
@@ -18,13 +20,13 @@ class MetadataParserFactory {
// Used to check to see if the parser can parse the given file. This
// should not do any additional reading of the file.
- virtual bool CanParse(const FilePath& path,
+ virtual bool CanParse(const base::FilePath& path,
char* bytes,
int bytes_size) = 0;
// Creates the parser on the given file. Creating the parser does not
// do any parsing on the file. Parse has to be called on the parser.
- virtual MetadataParser* CreateParser(const FilePath& path) = 0;
+ virtual MetadataParser* CreateParser(const base::FilePath& path) = 0;
};
#endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_FACTORY_H_