Index: chrome/browser/resources/file_manager/js/metadata_parser.js |
diff --git a/chrome/browser/resources/file_manager/js/metadata_parser.js b/chrome/browser/resources/file_manager/js/metadata_parser.js |
deleted file mode 100644 |
index 094775c98798d00e23889856f50b707a00a3a5f4..0000000000000000000000000000000000000000 |
--- a/chrome/browser/resources/file_manager/js/metadata_parser.js |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-// Copyright (c) 2012 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. |
- |
-function MetadataParser(parent, type, urlFilter) { |
- this.parent_ = parent; |
- this.type = type; |
- this.urlFilter = urlFilter; |
- this.verbose = parent.verbose; |
- this.mimeType = 'unknown'; |
-} |
- |
-MetadataParser.prototype.error = function(var_args) { |
- this.parent_.error.apply(this.parent_, arguments); |
-}; |
- |
-MetadataParser.prototype.log = function(var_args) { |
- this.parent_.log.apply(this.parent_, arguments); |
-}; |
- |
-MetadataParser.prototype.vlog = function(var_args) { |
- if (this.verbose) |
- this.parent_.log.apply(this.parent_, arguments); |
-}; |
- |
-MetadataParser.prototype.createDefaultMetadata = function() { |
- return { |
- type: this.type, |
- mimeType: this.mimeType |
- }; |
-}; |
- |
-MetadataParser.prototype.acceptsMimeType = function(mimeType) { |
- return mimeType == this.mimeType; |
-}; |
- |
-/* Base class for image metadata parsers */ |
-function ImageParser(parent, type, urlFilter) { |
- MetadataParser.apply(this, arguments); |
- this.mimeType = 'image/' + this.type; |
-} |
- |
-ImageParser.prototype = {__proto__: MetadataParser.prototype}; |