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

Unified Diff: webkit/blob/view_blob_internals_job.cc

Issue 10828252: Support FileSystem URL in File object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix Created 8 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
« no previous file with comments | « webkit/blob/blob_url_request_job.cc ('k') | webkit/glue/glue_serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/view_blob_internals_job.cc
diff --git a/webkit/blob/view_blob_internals_job.cc b/webkit/blob/view_blob_internals_job.cc
index dfbf3a0668843f84ebaf816dc5461fe72ac95991..42567137a2a8b39fed6af32a4e1ed3475ab9699b 100644
--- a/webkit/blob/view_blob_internals_job.cc
+++ b/webkit/blob/view_blob_internals_job.cc
@@ -215,6 +215,15 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data,
AddHTMLListItem(kType, "blob", out);
AddHTMLListItem(kURL, item.url().spec(), out);
break;
+ case BlobData::Item::TYPE_FILE_FILESYSTEM:
+ AddHTMLListItem(kType, "filesystem", out);
+ AddHTMLListItem(kURL, item.url().spec(), out);
+ if (!item.expected_modification_time().is_null()) {
+ AddHTMLListItem(kModificationTime, UTF16ToUTF8(
+ TimeFormatFriendlyDateAndTime(item.expected_modification_time())),
+ out);
+ }
+ break;
case BlobData::Item::TYPE_UNKNOWN:
NOTREACHED();
break;
« no previous file with comments | « webkit/blob/blob_url_request_job.cc ('k') | webkit/glue/glue_serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698