| 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) {};
|
|
|