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

Unified Diff: ui/file_manager/externs/metadata_worker_window.js

Issue 2607453002: Files.app: Compile file_manager/foreground/js/metadata in v2 syntax. (Closed)
Patch Set: Re-rebase (PS4 had unrelated changes.) Created 3 years, 11 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: ui/file_manager/externs/metadata_worker_window.js
diff --git a/ui/file_manager/externs/metadata_worker_window.js b/ui/file_manager/externs/metadata_worker_window.js
new file mode 100644
index 0000000000000000000000000000000000000000..b27699b4df3d9b74aadd0f15b7a5b6f20d9a5ae6
--- /dev/null
+++ b/ui/file_manager/externs/metadata_worker_window.js
@@ -0,0 +1,51 @@
+// Copyright 2015 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.
+
+/**
+ * @interface
+ */
+function MetadataParserLogger() {}
+
+/**
+ * Verbose logging for the dispatcher.
+ *
+ * Individual parsers also take this as their default verbosity setting.
+ */
+MetadataParserLogger.prototype.verbose;
+
+/**
+ * Indicate to the caller that an operation has failed.
+ *
+ * No other messages relating to the failed operation should be sent.
+ * @param {...(Object|string)} var_args Arguments.
+ */
+MetadataParserLogger.prototype.error = function(var_args) {};
+
+/**
+ * Send a log message to the caller.
+ *
+ * Callers must not parse log messages for control flow.
+ * @param {...(Object|string)} var_args Arguments.
+ */
+MetadataParserLogger.prototype.log = function(var_args) {};
+
+/**
+ * Send a log message to the caller only if this.verbose is true.
+ * @param {...(Object|string)} var_args Arguments.
+ */
+MetadataParserLogger.prototype.vlog = function(var_args) {};
+
+/**
+ * @param {function(new:MetadataParser, !MetadataParserLogger)} parserClass
+ * Parser constructor function.
+ */
+var registerParserClass = function(parserClass) {}
+
+/**
+ * @param {string} url
+ * @param {function(!Entry)} successCallback
+ * @param {function(!FileError)=} opt_errorCallback
+ */
+var webkitResolveLocalFileSystemURL =
+ function(url, successCallback, opt_errorCallback) {};
« no previous file with comments | « ui/file_manager/externs/compiled_resources2.gyp ('k') | ui/file_manager/file_manager/foreground/js/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698