Chromium Code Reviews| Index: content/child/webblobregistry_impl.h |
| diff --git a/content/child/webblobregistry_impl.h b/content/child/webblobregistry_impl.h |
| index ddc7a02a21beb02c404ef935f2f8a5fb96fe4dff..d0c76356460a9cdda35188956a661a3dac7ccba7 100644 |
| --- a/content/child/webblobregistry_impl.h |
| +++ b/content/child/webblobregistry_impl.h |
| @@ -24,12 +24,22 @@ class WebBlobRegistryImpl : public WebKit::WebBlobRegistry { |
| explicit WebBlobRegistryImpl(ThreadSafeSender* sender); |
| virtual ~WebBlobRegistryImpl(); |
| + virtual void registerBlobData(const WebKit::WebString& uuid, |
| + const WebKit::WebBlobData& data); |
| + 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&); |
| + |
| + // DEPRECATED, almost |
|
ericu
2013/08/21 23:26:09
OK, that almost is funny, but needs to have your n
michaeln
2013/08/27 23:24:06
Done.
|
| 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); |
| + // Additional support for Streams. |
| virtual void registerStreamURL(const WebKit::WebURL& url, |
| const WebKit::WebString& content_type); |
| virtual void registerStreamURL(const WebKit::WebURL& url, |
| @@ -40,7 +50,7 @@ class WebBlobRegistryImpl : public WebKit::WebBlobRegistry { |
| virtual void unregisterStreamURL(const WebKit::WebURL& url); |
| private: |
| - void SendDataForBlob(const WebKit::WebURL& url, |
| + void SendDataForBlob(const std::string& uuid_str, |
| const WebKit::WebThreadSafeData& data); |
| scoped_refptr<ThreadSafeSender> sender_; |