| Index: Platform/chromium/public/WebBlobRegistry.h
|
| ===================================================================
|
| --- Platform/chromium/public/WebBlobRegistry.h (revision 140218)
|
| +++ Platform/chromium/public/WebBlobRegistry.h (working copy)
|
| @@ -36,21 +36,18 @@
|
| namespace WebKit {
|
|
|
| class WebBlobData;
|
| +class WebString;
|
| class WebURL;
|
|
|
| class WebBlobRegistry {
|
| public:
|
| - WEBKIT_EXPORT static WebBlobRegistry* create();
|
| -
|
| virtual ~WebBlobRegistry() { }
|
|
|
| - // Registers a blob URL referring to the specified blob data.
|
| - virtual void registerBlobURL(const WebURL&, WebBlobData&) = 0;
|
| -
|
| - // Registers a blob URL referring to the blob data identified by the specified srcURL.
|
| - virtual void registerBlobURL(const WebURL&, const WebURL& srcURL) = 0;
|
| -
|
| - virtual void unregisterBlobURL(const WebURL&) = 0;
|
| + virtual void registerBlobData(const WebString& uuid, const WebBlobData&) = 0; // { }
|
| + virtual void addBlobDataRef(const WebString& uuid) { }
|
| + virtual void removeBlobDataRef(const WebString& uuid) { }
|
| + virtual void registerPublicBlobURL(const WebURL&, const WebString& uuid) { }
|
| + virtual void revokePublicBlobURL(const WebURL&) { }
|
| };
|
|
|
| } // namespace WebKit
|
|
|