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

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

Issue 39123003: [Files.app] Split the JavaScript files into subdirectories: common, background, and foreground (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test failure. Created 7 years, 1 month 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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * @param {MetadataDispatcher} parent Parent object. 8 * @param {MetadataDispatcher} parent Parent object.
9 * @param {string} type Parser type. 9 * @param {string} type Parser type.
10 * @param {RegExp} urlFilter RegExp to match URLs. 10 * @param {RegExp} urlFilter RegExp to match URLs.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 }; 53 };
54 }; 54 };
55 55
56 /* Base class for image metadata parsers */ 56 /* Base class for image metadata parsers */
57 function ImageParser(parent, type, urlFilter) { 57 function ImageParser(parent, type, urlFilter) {
58 MetadataParser.apply(this, arguments); 58 MetadataParser.apply(this, arguments);
59 this.mimeType = 'image/' + this.type; 59 this.mimeType = 'image/' + this.type;
60 } 60 }
61 61
62 ImageParser.prototype = {__proto__: MetadataParser.prototype}; 62 ImageParser.prototype = {__proto__: MetadataParser.prototype};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698