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

Unified Diff: Source/web/WebBlobData.cpp

Issue 23703003: Couple of minor changes to the WebKitAPI. This is a small step in a larger work-in-progress. See th… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 | « Source/core/platform/chromium/support/WebHTTPBody.cpp ('k') | public/platform/WebBlobData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebBlobData.cpp
diff --git a/Source/web/WebBlobData.cpp b/Source/web/WebBlobData.cpp
index bbb5798ba9e6bd4a964df6dcd731ea0da8f2e0c6..65d44a3a12150880042f402bf69d8f0b6a40a8bc 100644
--- a/Source/web/WebBlobData.cpp
+++ b/Source/web/WebBlobData.cpp
@@ -68,6 +68,7 @@ bool WebBlobData::itemAt(size_t index, Item& result) const
result.data.reset();
result.filePath.reset();
result.blobURL = KURL();
+ result.blobUUID.reset();
result.offset = item.offset;
result.length = item.length;
result.expectedModificationTime = item.expectedModificationTime;
@@ -84,11 +85,12 @@ bool WebBlobData::itemAt(size_t index, Item& result) const
case BlobDataItem::Blob:
result.type = Item::TypeBlob;
result.blobURL = item.url; // FIXME: deprecate this.
- result.url = item.url;
+ result.url = item.url; // DEPRECATED, should be able to remove after https://codereview.chromium.org/23223003/ lands
return true;
case BlobDataItem::URL:
- result.type = Item::TypeURL;
- result.url = item.url;
+ result.type = Item::TypeFileSystemURL;
+ result.url = item.url; // DEPRECATED
+ result.fileSystemURL = item.url;
return true;
}
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/core/platform/chromium/support/WebHTTPBody.cpp ('k') | public/platform/WebBlobData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698