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

Unified Diff: content/child/webblobregistry_impl.cc

Issue 23543002: Add an IPC to abort Stream construction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: content/child/webblobregistry_impl.cc
diff --git a/content/child/webblobregistry_impl.cc b/content/child/webblobregistry_impl.cc
index a51f4ec837b8bbbadf068fe8c0f3ee1c9b22fa8b..421de95cc92964ae2851a8c44de12edd246d2953 100644
--- a/content/child/webblobregistry_impl.cc
+++ b/content/child/webblobregistry_impl.cc
@@ -189,6 +189,11 @@ void WebBlobRegistryImpl::finalizeStream(const WebURL& url) {
sender_->Send(new StreamHostMsg_FinishBuilding(url));
}
+void WebBlobRegistryImpl::abortStream(const WebURL& url) {
+ DCHECK(ChildThread::current());
+ sender_->Send(new StreamHostMsg_AbortBuilding(url));
+}
+
void WebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) {
DCHECK(ChildThread::current());
sender_->Send(new StreamHostMsg_Remove(url));

Powered by Google App Engine
This is Rietveld 408576698