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

Unified Diff: webkit/browser/blob/view_blob_internals_job.cc

Issue 46303005: Fix chrome upload with content uri (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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: webkit/browser/blob/view_blob_internals_job.cc
diff --git a/webkit/browser/blob/view_blob_internals_job.cc b/webkit/browser/blob/view_blob_internals_job.cc
index fa9e82a12d7df80e31bef899a71b3b955a2a7a47..67e3b58fde4e631a6f7c668525e36ed89e16ddc2 100644
--- a/webkit/browser/blob/view_blob_internals_job.cc
+++ b/webkit/browser/blob/view_blob_internals_job.cc
@@ -219,6 +219,12 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data,
out);
}
break;
+#if defined(OS_ANDROID)
+ case BlobData::Item::TYPE_CONTENT_URL:
+ AddHTMLListItem(kType, "content_url", out);
+ AddHTMLListItem(kURL, item.content_url().spec(), out);
+ break;
+#endif
case BlobData::Item::TYPE_UNKNOWN:
NOTREACHED();
break;

Powered by Google App Engine
This is Rietveld 408576698