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

Unified Diff: WebKit/chromium/src/AsyncFileSystemChromium.cpp

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 8 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/chromium/src/AsyncFileSystemChromium.cpp
===================================================================
--- WebKit/chromium/src/AsyncFileSystemChromium.cpp (revision 132804)
+++ WebKit/chromium/src/AsyncFileSystemChromium.cpp (working copy)
@@ -55,6 +55,7 @@
public:
static PassOwnPtr<SnapshotFileCallbacks> create(const KURL& internalBlobURL, PassOwnPtr<WebCore::AsyncFileSystemCallbacks> callbacks)
{
+ // TODO: BlobDataHandles, what about the internal url jazz?
return adoptPtr(new SnapshotFileCallbacks(internalBlobURL, callbacks));
}
@@ -66,7 +67,8 @@
m_callbacks->didReadMetadata(metadata);
// Now that we've registered the snapshot file, we can unregister our internalBlobURL which has played a placeholder for the file during the IPC.
- ThreadableBlobRegistry::unregisterBlobURL(m_internalBlobURL);
+ // TODO: BlobDataHandles
+ // ThreadableBlobRegistry::unregisterBlobURL(m_internalBlobURL);
}
virtual void didFail(int error)
@@ -219,7 +221,8 @@
void AsyncFileSystemChromium::createSnapshotFileAndReadMetadata(const KURL& path, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
{
- KURL internalBlobURL = BlobURL::createInternalURL();
+ // TODO: BlobDataHandles and uuids
+ KURL internalBlobURL = KURL(); //BlobURL::createInternalURL();
// This will create a snapshot file and register the file to a blob using the given internalBlobURL.
m_webFileSystem->createSnapshotFileAndReadMetadata(internalBlobURL, path, new WebKit::WebFileSystemCallbacksImpl(createSnapshotFileCallback(internalBlobURL, callbacks)));

Powered by Google App Engine
This is Rietveld 408576698