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

Unified Diff: chrome/browser/parsers/metadata_parser_factory.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/parsers/metadata_parser.h ('k') | chrome/browser/parsers/metadata_parser_jpeg_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/parsers/metadata_parser_factory.h
diff --git a/chrome/browser/parsers/metadata_parser_factory.h b/chrome/browser/parsers/metadata_parser_factory.h
index d1d12797fc4719394d4b9000136b812c3fb72f46..c6c5a2616f8ed516f1b722ec3dbf3017ed54684f 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_
« no previous file with comments | « chrome/browser/parsers/metadata_parser.h ('k') | chrome/browser/parsers/metadata_parser_jpeg_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698