Home | History | Annotate | Download | only in parsers
      1 // Copyright (c) 2010 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.
      4 
      5 #ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
      6 #define CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
      7 #pragma once
      8 
      9 #include "base/basictypes.h"
     10 #include "chrome/browser/parsers/metadata_parser_factory.h"
     11 
     12 class FilePath;
     13 
     14 class MetadataParserJpegFactory : public MetadataParserFactory {
     15  public:
     16   MetadataParserJpegFactory();
     17 
     18   // Implementation of MetadataParserFactory
     19   virtual bool CanParse(const FilePath& path, char* bytes, int bytes_size);
     20   virtual MetadataParser* CreateParser(const FilePath& path);
     21 
     22  private:
     23   DISALLOW_COPY_AND_ASSIGN(MetadataParserJpegFactory);
     24 };
     25 
     26 #endif  // CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
     27