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

Unified Diff: content/child/webblobregistry_impl.h

Issue 23223003: Chromium Blob hacking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « content/child/fileapi/webfilewriter_impl.cc ('k') | content/child/webblobregistry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webblobregistry_impl.h
diff --git a/content/child/webblobregistry_impl.h b/content/child/webblobregistry_impl.h
index 87afcdb2c5e59e223fd444044bdc0cc3ccb9a051..1d6e54ed489fdfd89af160357201444939b1c895 100644
--- a/content/child/webblobregistry_impl.h
+++ b/content/child/webblobregistry_impl.h
@@ -24,12 +24,23 @@ 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
+ // TODO(michaeln): crbug/174200
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,
@@ -41,7 +52,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_;
« no previous file with comments | « content/child/fileapi/webfilewriter_impl.cc ('k') | content/child/webblobregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698