Index: ui/file_manager/file_manager/foreground/js/metadata/metadata_item.js |
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/metadata_item.js b/ui/file_manager/file_manager/foreground/js/metadata/metadata_item.js |
index 6bd166443e8857c882fcc1a415989b4cc2e48959..5c089ae1dc40933ba9c68fcfd24492ca2d84bfe8 100644 |
--- a/ui/file_manager/file_manager/foreground/js/metadata/metadata_item.js |
+++ b/ui/file_manager/file_manager/foreground/js/metadata/metadata_item.js |
@@ -12,6 +12,7 @@ |
var ImageTransformation; |
/** |
+ * Each property of MetadataItem has error property also. |
* @constructor |
* @struct |
*/ |
@@ -23,123 +24,233 @@ function MetadataItem() { |
this.size; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.sizeError; |
+ |
+ /** |
* @public {!Date|undefined} |
*/ |
this.modificationTime; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.modificationTimeError; |
+ |
+ /** |
* Thumbnail URL obtained from external provider. |
* @public {string|undefined} |
*/ |
this.thumbnailUrl; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.thumbnailUrlError; |
+ |
+ /** |
* @public {number|undefined} |
*/ |
this.imageWidth; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.imageWidthError; |
+ |
+ /** |
* @public {number|undefined} |
*/ |
this.imageHeight; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.imageHeightError; |
+ |
+ /** |
* @public {number|undefined} |
*/ |
this.imageRotation; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.imageRotationError; |
+ |
+ /** |
* Thumbnail obtained from content provider. |
* @public {string|undefined} |
*/ |
this.contentThumbnailUrl; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.contentThumbnailUrlError; |
+ |
+ /** |
* Thumbnail transformation obtained from content provider. |
* @public {!ImageTransformation|undefined} |
*/ |
this.contentThumbnailTransform; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.contentThumbnailTransformError; |
+ |
+ /** |
* Image transformation obtained from content provider. |
* @public {!ImageTransformation|undefined} |
*/ |
this.contentImageTransform; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.contentImageTransformError; |
+ |
+ /** |
* Whether the entry is pinned for ensuring it is available offline. |
* @public {boolean|undefined} |
*/ |
this.pinned; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.pinnedError; |
+ |
+ /** |
* Whether the entry is cached locally. |
* @public {boolean|undefined} |
*/ |
this.present; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.presentError; |
+ |
+ /** |
* Whether the entry is hosted document of google drive. |
* @public {boolean|undefined} |
*/ |
this.hosted; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.hostedError; |
+ |
+ /** |
* Whether the entry is modified locally and not synched yet. |
* @public {boolean|undefined} |
*/ |
this.dirty; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.dirtyError; |
+ |
+ /** |
* Whether the entry is present or hosted; |
* @public {boolean|undefined} |
*/ |
this.availableOffline; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.availableOfflineError; |
+ |
+ /** |
* @public {boolean|undefined} |
*/ |
this.availableWhenMetered; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.availableWhenMeteredError; |
+ |
+ /** |
* @public {string|undefined} |
*/ |
this.customIconUrl; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.customIconUrlError; |
+ |
+ /** |
* @public {string|undefined} |
*/ |
this.contentMimeType; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.contentMimeTypeError; |
+ |
+ /** |
* Whether the entry is shared explicitly with me. |
* @public {boolean|undefined} |
*/ |
this.sharedWithMe; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.sharedWithMeError; |
+ |
+ /** |
* Whether the entry is shared publicly. |
* @public {boolean|undefined} |
*/ |
this.shared; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.sharedError; |
+ |
+ /** |
* URL for open a file in browser tab. |
* @public {string|undefined} |
*/ |
this.externalFileUrl; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.externalFileUrlError; |
+ |
+ /** |
* @public {string|undefined} |
*/ |
this.mediaTitle; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.mediaTitleError; |
+ |
+ /** |
* @public {string|undefined} |
*/ |
this.mediaArtist; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.mediaArtistError; |
+ |
+ /** |
* Mime type obtained by content provider based on URL. |
* TODO(hirono): Remove the mediaMimeType. |
* @public {string|undefined} |
@@ -147,13 +258,28 @@ function MetadataItem() { |
this.mediaMimeType; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.mediaMimeTypeError; |
+ |
+ /** |
* "Image File Directory" obtained from EXIF header. |
* @public {!Object|undefined} |
*/ |
this.ifd; |
/** |
+ * @public {Error|undefined} |
+ */ |
+ this.ifdError; |
+ |
+ /** |
* @public {boolean|undefined} |
*/ |
this.exifLittleEndian; |
+ |
+ /** |
+ * @public {Error|undefined} |
+ */ |
+ this.exifLittleEndianError; |
} |