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

Unified Diff: Source/core/fileapi/BlobRegistry.h

Issue 23992003: blob hacking webcore style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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: 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.
class BlobRegistry {
public:
+ static void init();
+
// 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&);

Powered by Google App Engine
This is Rietveld 408576698