Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: chrome/browser/resources/file_manager/js/metadata/metadata_parser.js

Issue 9583009: [File Manager] Cleanup: Moving js/css/html files to dedicated directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2011->2012 Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function MetadataParser(parent, type, urlFilter) { 5 function MetadataParser(parent, type, urlFilter) {
6 this.parent_ = parent; 6 this.parent_ = parent;
7 this.type = type; 7 this.type = type;
8 this.urlFilter = urlFilter; 8 this.urlFilter = urlFilter;
9 this.verbose = parent.verbose; 9 this.verbose = parent.verbose;
10 this.mimeType = 'unknown'; 10 this.mimeType = 'unknown';
(...skipping 23 matching lines...) Expand all
34 return mimeType == this.mimeType; 34 return mimeType == this.mimeType;
35 }; 35 };
36 36
37 /* Base class for image metadata parsers */ 37 /* Base class for image metadata parsers */
38 function ImageParser(parent, type, urlFilter) { 38 function ImageParser(parent, type, urlFilter) {
39 MetadataParser.apply(this, arguments); 39 MetadataParser.apply(this, arguments);
40 this.mimeType = 'image/' + this.type; 40 this.mimeType = 'image/' + this.type;
41 } 41 }
42 42
43 ImageParser.prototype = {__proto__: MetadataParser.prototype}; 43 ImageParser.prototype = {__proto__: MetadataParser.prototype};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698