| 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() { }
|
|
|
|
|