summaryrefslogtreecommitdiffstats
path: root/chrome/browser/parsers/metadata_parser_jpeg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/parsers/metadata_parser_jpeg.cc')
-rw-r--r--chrome/browser/parsers/metadata_parser_jpeg.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/parsers/metadata_parser_jpeg.cc b/chrome/browser/parsers/metadata_parser_jpeg.cc
new file mode 100644
index 0000000..3e78978
--- /dev/null
+++ b/chrome/browser/parsers/metadata_parser_jpeg.cc
@@ -0,0 +1,14 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/parsers/metadata_parser_jpeg.h"
+
+JpegMetadataParser::JpegMetadataParser(const FilePath& path)
+ : FileMetadataParser(path) {}
+
+bool JpegMetadataParser::Parse() {
+ FileMetadataParser::Parse();
+ properties_[MetadataParser::kPropertyType] = "jpeg";
+ return true;
+}