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

Unified Diff: content/child/webblobregistry_impl.cc

Issue 760823002: Introduce Stream::flush [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 6 years, 1 month 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 9503ec5a6e661417396604934cad0fde2c6d5dc9..2e4e248d8ae8290b506c0cce43631043039f8721 100644
--- a/content/child/webblobregistry_impl.cc
+++ b/content/child/webblobregistry_impl.cc
@@ -194,6 +194,11 @@ void WebBlobRegistryImpl::addDataToStream(const WebURL& url,
}
}
+void WebBlobRegistryImpl::flushStream(const WebURL& url) {
+ DCHECK(ChildThread::current());
+ sender_->Send(new StreamHostMsg_Flush(url));
+}
+
void WebBlobRegistryImpl::finalizeStream(const WebURL& url) {
DCHECK(ChildThread::current());
sender_->Send(new StreamHostMsg_FinishBuilding(url));

Powered by Google App Engine
This is Rietveld 408576698