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

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, 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
« no previous file with comments | « Source/core/fileapi/BlobBuilder.cpp ('k') | Source/core/fileapi/BlobRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/BlobRegistry.h
diff --git a/Source/core/fileapi/BlobRegistry.h b/Source/core/fileapi/BlobRegistry.h
index 2889b19d4414d4ec8a4865a0d2599910e20e57cc..b564d3b1f559b46151d1be6b06b9bded87e21fe7 100644
--- a/Source/core/fileapi/BlobRegistry.h
+++ b/Source/core/fileapi/BlobRegistry.h
@@ -38,20 +38,20 @@
namespace WebCore {
class BlobData;
+class BlobDataHandle;
class KURL;
class RawData;
class SecurityOrigin;
-// A bridging class for calling WebKit::WebBlobRegistry methods on the main
-// thread. Each method gets the WebBlobRegistry implementation instance and
-// calls the corresponding method (the same name) on it using callOnMainThread()
-// if necessary.
+// A bridging class for calling WebKit::WebBlobRegistry methods.
class BlobRegistry {
public:
// 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&);
« no previous file with comments | « Source/core/fileapi/BlobBuilder.cpp ('k') | Source/core/fileapi/BlobRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698