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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/file_manager/foreground/js/metadata/id3_parser.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/metadata/id3_parser.js b/chrome/browser/resources/file_manager/foreground/js/metadata/id3_parser.js
index 4037d02e43e8b905bf22a05d1085ed4077a186a8..045e6a1614046c436eaef95df124d96f14bb5563 100644
--- a/chrome/browser/resources/file_manager/foreground/js/metadata/id3_parser.js
+++ b/chrome/browser/resources/file_manager/foreground/js/metadata/id3_parser.js
@@ -4,8 +4,17 @@
'use strict';
-importScripts('function_sequence.js');
-importScripts('function_parallel.js');
+/**
+ * Protocol + host parts of extension URL.
+ * @type {string}
+ * @const
+ */
+var FILE_MANAGER_HOST = 'chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj';
+
+importScripts(
+ FILE_MANAGER_HOST + '/foreground/js/metadata/function_sequence.js');
+importScripts(
+ FILE_MANAGER_HOST + '/foreground/js/metadata/function_parallel.js');
function Id3Parser(parent) {
MetadataParser.call(this, parent, 'id3', /\.(mp3)$/i);

Powered by Google App Engine
This is Rietveld 408576698