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

Unified Diff: chrome/browser/resources/file_manager/js/metadata/image_parsers.js

Issue 12254008: Files.app: Add missing JSdoc for member methods/variables #2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « chrome/browser/resources/file_manager/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: chrome/browser/resources/file_manager/js/metadata/image_parsers.js
diff --git a/chrome/browser/resources/file_manager/js/metadata/image_parsers.js b/chrome/browser/resources/file_manager/js/metadata/image_parsers.js
index 47108916e929d5a2fa06d1a2daff12551dec4575..a56d4e0034517c15a36bd14b244fdc0ed8782de0 100644
--- a/chrome/browser/resources/file_manager/js/metadata/image_parsers.js
+++ b/chrome/browser/resources/file_manager/js/metadata/image_parsers.js
@@ -11,6 +11,12 @@ 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).
+ */
SimpleImageParser.prototype.parse = function(
file, metadata, callback, errorCallback) {
var self = this;
@@ -33,6 +39,10 @@ function PngParser(parent) {
PngParser.prototype = {__proto__: SimpleImageParser.prototype};
+/**
+ * @param {Object} metadata //TODO(JSDOC).
+ * @param {ByteReader} br //TODO(JSDOC).
+ */
PngParser.prototype.parseHeader = function(metadata, br) {
br.setByteOrder(ByteReader.BIG_ENDIAN);
@@ -58,6 +68,10 @@ function BmpParser(parent) {
BmpParser.prototype = {__proto__: SimpleImageParser.prototype};
+/**
+ * @param {Object} metadata //TODO(JSDOC).
+ * @param {ByteReader} br //TODO(JSDOC).
+ */
BmpParser.prototype.parseHeader = function(metadata, br) {
br.setByteOrder(ByteReader.LITTLE_ENDIAN);
@@ -79,6 +93,10 @@ function GifParser(parent) {
GifParser.prototype = {__proto__: SimpleImageParser.prototype};
+/**
+ * @param {Object} metadata //TODO(JSDOC).
+ * @param {ByteReader} br //TODO(JSDOC).
+ */
GifParser.prototype.parseHeader = function(metadata, br) {
br.setByteOrder(ByteReader.LITTLE_ENDIAN);
« no previous file with comments | « chrome/browser/resources/file_manager/js/metadata/id3_parser.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698