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

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: Rebase Created 7 years, 4 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/browser/worker_host/worker_process_host.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 7e67e427066c0ff8abaa781772516860f03ccf3b..ddc7a02a21beb02c404ef935f2f8a5fb96fe4dff 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;
}
@@ -29,10 +30,18 @@ class WebBlobRegistryImpl : public WebKit::WebBlobRegistry {
const WebKit::WebURL& src_url);
virtual void unregisterBlobURL(const WebKit::WebURL& url);
+ virtual void registerStreamURL(const WebKit::WebURL& url,
+ const WebKit::WebString& content_type);
+ virtual void registerStreamURL(const WebKit::WebURL& url,
+ const WebKit::WebURL& src_url);
+ virtual void addDataToStream(const WebKit::WebURL& url,
+ WebKit::WebThreadSafeData& data);
+ virtual void finalizeStream(const WebKit::WebURL& url);
+ virtual void unregisterStreamURL(const WebKit::WebURL& url);
+
private:
- void SendData(const WebKit::WebURL& url,
- const WebKit::WebThreadSafeData& data,
- webkit_blob::BlobData::Item* item);
+ void SendDataForBlob(const WebKit::WebURL& url,
+ const WebKit::WebThreadSafeData& data);
scoped_refptr<ThreadSafeSender> sender_;
};
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/child/webblobregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698