Index: content/public/browser/stream_handle.h |
diff --git a/content/public/browser/stream_handle.h b/content/public/browser/stream_handle.h |
index b87402e543e3a130e2ec9bf18cdef1e11f244264..94591d7d41d320819277f298939030bd80844c1d 100644 |
--- a/content/public/browser/stream_handle.h |
+++ b/content/public/browser/stream_handle.h |
@@ -31,6 +31,9 @@ class CONTENT_EXPORT StreamHandle { |
// Get the HTTP response headers associated with this Stream. |
virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() = 0; |
+ |
+ // Add a callback which will be called when the Stream is closed. |
+ virtual void AddCloseListener(const base::Closure& callback) = 0; |
}; |
} // namespace content |