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

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

Issue 246543002: Add script files of the separated Gallery.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply recent changes for the Gallery to the separated one. Created 6 years, 8 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 'use strict'; 5 'use strict';
6 6
7 importScripts('function_sequence.js'); 7 /**
8 importScripts('function_parallel.js'); 8 * Protocol + host parts of extension URL.
9 * @type {string}
10 * @const
11 */
12 var FILE_MANAGER_HOST = 'chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj';
13
14 importScripts(
15 FILE_MANAGER_HOST + '/foreground/js/metadata/function_sequence.js');
16 importScripts(
17 FILE_MANAGER_HOST + '/foreground/js/metadata/function_parallel.js');
9 18
10 function Id3Parser(parent) { 19 function Id3Parser(parent) {
11 MetadataParser.call(this, parent, 'id3', /\.(mp3)$/i); 20 MetadataParser.call(this, parent, 'id3', /\.(mp3)$/i);
12 } 21 }
13 22
14 Id3Parser.prototype = {__proto__: MetadataParser.prototype}; 23 Id3Parser.prototype = {__proto__: MetadataParser.prototype};
15 24
16 /** 25 /**
17 * Reads synchsafe integer. 26 * Reads synchsafe integer.
18 * 'SynchSafe' term is taken from id3 documentation. 27 * 'SynchSafe' term is taken from id3 documentation.
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 TYER: 'ID3_YEAR', 708 TYER: 'ID3_YEAR',
700 WCOP: 'ID3_COPYRIGHT', 709 WCOP: 'ID3_COPYRIGHT',
701 WOAF: 'ID3_OFFICIAL_AUDIO_FILE_WEBPAGE', 710 WOAF: 'ID3_OFFICIAL_AUDIO_FILE_WEBPAGE',
702 WOAR: 'ID3_OFFICIAL_ARTIST', 711 WOAR: 'ID3_OFFICIAL_ARTIST',
703 WOAS: 'ID3_OFFICIAL_AUDIO_SOURCE_WEBPAGE', 712 WOAS: 'ID3_OFFICIAL_AUDIO_SOURCE_WEBPAGE',
704 WPUB: 'ID3_PUBLISHERS_OFFICIAL_WEBPAGE' 713 WPUB: 'ID3_PUBLISHERS_OFFICIAL_WEBPAGE'
705 } 714 }
706 }; 715 };
707 716
708 MetadataDispatcher.registerParserClass(Id3Parser); 717 MetadataDispatcher.registerParserClass(Id3Parser);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698