1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
6 #define CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/parsers/metadata_parser_factory.h"
16 class MetadataParserJpegFactory
: public MetadataParserFactory
{
18 MetadataParserJpegFactory();
20 // Implementation of MetadataParserFactory
21 virtual bool CanParse(const base::FilePath
& path
,
23 int bytes_size
) OVERRIDE
;
24 virtual MetadataParser
* CreateParser(const base::FilePath
& path
) OVERRIDE
;
27 DISALLOW_COPY_AND_ASSIGN(MetadataParserJpegFactory
);
30 #endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_