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

Unified Diff: Platform/chromium/public/WebBlobRegistry.h

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 7 years, 11 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 | « Platform/chromium/public/WebBlobData.h ('k') | Platform/chromium/public/WebFileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Platform/chromium/public/WebBlobData.h ('k') | Platform/chromium/public/WebFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698