Chromium Code Reviews| Index: Source/core/fileapi/BlobRegistry.h |
| diff --git a/Source/core/fileapi/BlobRegistry.h b/Source/core/fileapi/BlobRegistry.h |
| index 2889b19d4414d4ec8a4865a0d2599910e20e57cc..cc5f6e3e73098e8edbb4447ba1c6f339bcb8eabe 100644 |
| --- a/Source/core/fileapi/BlobRegistry.h |
| +++ b/Source/core/fileapi/BlobRegistry.h |
| @@ -38,6 +38,7 @@ |
| namespace WebCore { |
| class BlobData; |
| +class BlobDataHandle; |
| class KURL; |
| class RawData; |
| class SecurityOrigin; |
| @@ -48,10 +49,14 @@ class SecurityOrigin; |
| // if necessary. |
|
michaeln
2013/10/01 23:57:55
comment is stale, will update...
|
| class BlobRegistry { |
| public: |
| + static void init(); |
|
michaeln
2013/10/01 23:57:55
this method shouldn't be here, removing...
|
| + |
| // Methods for controlling Blobs. |
| - static void registerBlobURL(const KURL&, PassOwnPtr<BlobData>); |
| - static void registerBlobURL(SecurityOrigin*, const KURL&, const KURL& srcURL); |
| - static void unregisterBlobURL(const KURL&); |
| + static void registerBlobData(const String& uuid, PassOwnPtr<BlobData>); |
| + static void addBlobDataRef(const String& uuid); |
| + static void removeBlobDataRef(const String& uuid); |
| + static void registerPublicBlobURL(SecurityOrigin*, const KURL&, PassRefPtr<BlobDataHandle>); |
| + static void revokePublicBlobURL(const KURL&); |
| // Methods for controlling Streams. |
| static void registerStreamURL(const KURL&, const String&); |