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

Unified Diff: ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js

Issue 562763006: Add jsdoc to metadata files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 3 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
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/metadata/id3_parser.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js b/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js
index c419428a755a3756e9ea938d6765036a64ccef6e..2dab001cb35ea3e4e8955e9eb731f07a0a9ad8a0 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js
@@ -14,10 +14,10 @@ function SimpleImageParser(parent, type, urlFilter, headerSize) {
SimpleImageParser.prototype = {__proto__: ImageParser.prototype};
/**
- * @param {File} file // TODO(JSDOC).
- * @param {Object} metadata // TODO(JSDOC).
- * @param {function(Object)} callback // TODO(JSDOC).
- * @param {function(string)} errorCallback // TODO(JSDOC).
+ * @param {File} file File to be parses.
+ * @param {Object} metadata Metadata object of the file.
+ * @param {function(Object)} callback Success callback.
+ * @param {function(string)} errorCallback Error callback.
*/
SimpleImageParser.prototype.parse = function(
file, metadata, callback, errorCallback) {
@@ -42,8 +42,8 @@ function PngParser(parent) {
PngParser.prototype = {__proto__: SimpleImageParser.prototype};
/**
- * @param {Object} metadata // TODO(JSDOC).
- * @param {ByteReader} br // TODO(JSDOC).
+ * @param {Object} metadata Metadata object.
+ * @param {ByteReader} br Byte reader to read from.
*/
PngParser.prototype.parseHeader = function(metadata, br) {
br.setByteOrder(ByteReader.BIG_ENDIAN);
@@ -71,8 +71,8 @@ function BmpParser(parent) {
BmpParser.prototype = {__proto__: SimpleImageParser.prototype};
/**
- * @param {Object} metadata // TODO(JSDOC).
- * @param {ByteReader} br // TODO(JSDOC).
+ * @param {Object} metadata Metadata object.
+ * @param {ByteReader} br Byte reader to read from.
*/
BmpParser.prototype.parseHeader = function(metadata, br) {
br.setByteOrder(ByteReader.LITTLE_ENDIAN);
@@ -96,8 +96,8 @@ function GifParser(parent) {
GifParser.prototype = {__proto__: SimpleImageParser.prototype};
/**
- * @param {Object} metadata // TODO(JSDOC).
- * @param {ByteReader} br // TODO(JSDOC).
+ * @param {Object} metadata Metadata object.
+ * @param {ByteReader} br Byte reader to read from.
*/
GifParser.prototype.parseHeader = function(metadata, br) {
br.setByteOrder(ByteReader.LITTLE_ENDIAN);
@@ -120,8 +120,8 @@ function WebpParser(parent) {
WebpParser.prototype = {__proto__: SimpleImageParser.prototype};
/**
- * @param {Object} metadata // TODO(JSDOC).
- * @param {ByteReader} br // TODO(JSDOC).
+ * @param {Object} metadata Metadata object.
+ * @param {ByteReader} br Byte reader to read from.
*/
WebpParser.prototype.parseHeader = function(metadata, br) {
br.setByteOrder(ByteReader.LITTLE_ENDIAN);
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/metadata/id3_parser.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698