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

Unified Diff: WebKit/chromium/src/BlobRegistryProxy.h

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/BlobRegistryProxy.h
===================================================================
--- WebKit/chromium/src/BlobRegistryProxy.h (revision 132804)
+++ WebKit/chromium/src/BlobRegistryProxy.h (working copy)
@@ -43,12 +43,22 @@
public:
BlobRegistryProxy();
- virtual void registerBlobURL(const KURL&, PassOwnPtr<BlobData>);
- virtual void registerBlobURL(const KURL&, const KURL& srcURL);
- virtual void unregisterBlobURL(const KURL&);
+ // BlobData registration: may be called on any thread.
+ virtual void registerBlobData(const String& uuid, PassOwnPtr<BlobData>);
+ virtual void addBlobDataRef(const String& uuid);
+ virtual void removeBlobDataRef(const String& uuid);
- virtual bool loadResourceSynchronously(const ResourceRequest&, ResourceError&, ResourceResponse&, Vector<char>& data) { return false; }
+ // Public Blob URL registration: may be called on any thread.
+ virtual void registerPublicBlobURL(SecurityOrigin*, const KURL&, PassRefPtr<BlobDataHandle>);
+ virtual void revokePublicBlobURL(const KURL&);
+ virtual PassRefPtr<SecurityOrigin> cachedUniqueOrigin(const KURL&);
+ // DEPRECATED: the old api.
+ //virtual void registerBlobURL(const KURL&, PassOwnPtr<BlobData>);
+ //virtual void registerBlobURL(const KURL&, const KURL& srcURL);
+ //virtual void unregisterBlobURL(const KURL&);
+ //virtual bool loadResourceSynchronously(const ResourceRequest&, ResourceError&, ResourceResponse&, Vector<char>& data) { return false; }
+
private:
virtual ~BlobRegistryProxy() { }

Powered by Google App Engine
This is Rietveld 408576698