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

Unified Diff: content/child/webblobregistry_impl.h

Issue 15817013: Add Stream support to WebBlobRegistry and FileAPIMessageFilter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: content/child/webblobregistry_impl.h
diff --git a/content/child/webblobregistry_impl.h b/content/child/webblobregistry_impl.h
index 7e67e427066c0ff8abaa781772516860f03ccf3b..161251ef3d3e602a4c69d809d4d35a42d0fa1546 100644
--- a/content/child/webblobregistry_impl.h
+++ b/content/child/webblobregistry_impl.h
@@ -11,6 +11,7 @@
namespace WebKit {
class WebBlobData;
+class WebString;
class WebThreadSafeData;
class WebURL;
}
@@ -24,10 +25,16 @@ class WebBlobRegistryImpl : public WebKit::WebBlobRegistry {
virtual ~WebBlobRegistryImpl();
virtual void registerBlobURL(const WebKit::WebURL& url,
- WebKit::WebBlobData& data);
+ WebKit::WebBlobData& data) OVERRIDE;
+ virtual void registerStreamURL(
+ const WebKit::WebURL& url,
+ const WebKit::WebString& content_type) OVERRIDE;
virtual void registerBlobURL(const WebKit::WebURL& url,
- const WebKit::WebURL& src_url);
- virtual void unregisterBlobURL(const WebKit::WebURL& url);
+ const WebKit::WebURL& src_url) OVERRIDE;
+ virtual void addDataToStream(const WebKit::WebURL& url,
+ WebKit::WebThreadSafeData& data) OVERRIDE;
+ virtual void finalizeStream(const WebKit::WebURL& url) OVERRIDE;
+ virtual void unregisterBlobURL(const WebKit::WebURL& url) OVERRIDE;
private:
void SendData(const WebKit::WebURL& url,

Powered by Google App Engine
This is Rietveld 408576698