| Index: content/common/fileapi/webblobregistry_impl.h
|
| ===================================================================
|
| --- content/common/fileapi/webblobregistry_impl.h (revision 171309)
|
| +++ content/common/fileapi/webblobregistry_impl.h (working copy)
|
| @@ -7,8 +7,13 @@
|
|
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegistry.h"
|
|
|
| +namespace IPC {
|
| +class Message;
|
| +}
|
| +
|
| namespace WebKit {
|
| class WebBlobData;
|
| +class WebString;
|
| class WebURL;
|
| }
|
|
|
| @@ -20,14 +25,17 @@
|
| explicit WebBlobRegistryImpl(ChildThread* child_thread);
|
| virtual ~WebBlobRegistryImpl();
|
|
|
| - // See WebBlobRegistry.h for documentation on these functions.
|
| - virtual void registerBlobURL(const WebKit::WebURL& url,
|
| - WebKit::WebBlobData& data);
|
| - virtual void registerBlobURL(const WebKit::WebURL& url,
|
| - const WebKit::WebURL& src_url);
|
| - virtual void unregisterBlobURL(const WebKit::WebURL& url);
|
| + virtual void registerBlobData(const WebKit::WebString& uuid,
|
| + const WebKit::WebBlobData&);
|
| + virtual void addBlobDataRef(const WebKit::WebString& uuid);
|
| + virtual void removeBlobDataRef(const WebKit::WebString& uuid);
|
| + virtual void registerPublicBlobURL(const WebKit::WebURL&,
|
| + const WebKit::WebString& uuid);
|
| + virtual void revokePublicBlobURL(const WebKit::WebURL&);
|
|
|
| private:
|
| + void SendFromAnyThread(IPC::Message* msg);
|
| +
|
| ChildThread* child_thread_;
|
| };
|
|
|
|
|