| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * @interface |
| 7 */ |
| 8 function MetadataParserLogger() {} |
| 9 |
| 10 /** |
| 11 * Verbose logging for the dispatcher. |
| 12 * |
| 13 * Individual parsers also take this as their default verbosity setting. |
| 14 */ |
| 15 MetadataParserLogger.prototype.verbose; |
| 16 |
| 17 /** |
| 18 * Indicate to the caller that an operation has failed. |
| 19 * |
| 20 * No other messages relating to the failed operation should be sent. |
| 21 * @param {...(Object|string)} var_args Arguments. |
| 22 */ |
| 23 MetadataParserLogger.prototype.error = function(var_args) {}; |
| 24 |
| 25 /** |
| 26 * Send a log message to the caller. |
| 27 * |
| 28 * Callers must not parse log messages for control flow. |
| 29 * @param {...(Object|string)} var_args Arguments. |
| 30 */ |
| 31 MetadataParserLogger.prototype.log = function(var_args) {}; |
| 32 |
| 33 /** |
| 34 * Send a log message to the caller only if this.verbose is true. |
| 35 * @param {...(Object|string)} var_args Arguments. |
| 36 */ |
| 37 MetadataParserLogger.prototype.vlog = function(var_args) {}; |
| 38 |
| 39 /** |
| 40 * @param {function(new:MetadataParser, !MetadataParserLogger)} parserClass |
| 41 * Parser constructor function. |
| 42 */ |
| 43 var registerParserClass = function(parserClass) {} |
| 44 |
| 45 /** |
| 46 * @param {string} url |
| 47 * @param {function(!Entry)} successCallback |
| 48 * @param {function(!FileError)=} opt_errorCallback |
| 49 */ |
| 50 var webkitResolveLocalFileSystemURL = |
| 51 function(url, successCallback, opt_errorCallback) {}; |
| OLD | NEW |