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

Unified Diff: chrome/common/extensions/api/file_system_provider.idl

Issue 513683002: [fsp] Add support for providing thumbnails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a bug. Created 6 years, 4 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
Index: chrome/common/extensions/api/file_system_provider.idl
diff --git a/chrome/common/extensions/api/file_system_provider.idl b/chrome/common/extensions/api/file_system_provider.idl
index 155c7da2d59b6bbaaa9293d75bb44c8c7af5c13d..75fd355a75f33c1fb358f522a3811378dfd0879c 100644
--- a/chrome/common/extensions/api/file_system_provider.idl
+++ b/chrome/common/extensions/api/file_system_provider.idl
@@ -49,7 +49,11 @@ namespace fileSystemProvider {
[instanceOf=Date] object modificationTime;
// Mime type for the entry.
- DOMString? mimeType;
+ DOMString? mimeType;
+
+ // Thumbnail image as a data URI. Optional, but can be provided only when
hirono 2014/08/27 09:20:07 How about describing about image types of the thum
mtomasz 2014/08/28 04:57:55 Done.
+ // explicitely requested in the <code>onGetMetadataRequested</code> event.
+ DOMString? thumbnail;
};
// Represents a mounted file system.
@@ -82,6 +86,9 @@ namespace fileSystemProvider {
DOMString fileSystemId;
long requestId;
DOMString entryPath;
+
+ // Set to <code>true</code> if the thumbnail is requested.
+ boolean thumbnail;
};
// Options for the <code>onReadDirectoryRequested()</code> event.

Powered by Google App Engine
This is Rietveld 408576698