Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / parsers / metadata_parser_jpeg_factory.h
blob1c21144d7ca756ea7927fa6504c996f794987163
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"
12 namespace base {
13 class FilePath;
16 class MetadataParserJpegFactory : public MetadataParserFactory {
17 public:
18 MetadataParserJpegFactory();
20 // Implementation of MetadataParserFactory
21 virtual bool CanParse(const base::FilePath& path,
22 char* bytes,
23 int bytes_size) OVERRIDE;
24 virtual MetadataParser* CreateParser(const base::FilePath& path) OVERRIDE;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(MetadataParserJpegFactory);
30 #endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_