Index: content/browser/streams/stream.h |
diff --git a/content/browser/streams/stream.h b/content/browser/streams/stream.h |
index 1422da5ef248c656854b1bf0e6d57e1c56057474..f4a8cf4ff0c55ef6d42ad279cf91338eec52828e 100644 |
--- a/content/browser/streams/stream.h |
+++ b/content/browser/streams/stream.h |
@@ -74,7 +74,7 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> { |
void Flush(); |
// Notifies this stream that it will not be receiving any more data. |
- void Finalize(); |
+ void Finalize(int status); |
// Reads a maximum of |buf_size| from the stream into |buf|. Sets |
// |*bytes_read| to the number of bytes actually read. |
@@ -85,6 +85,8 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> { |
std::unique_ptr<StreamHandle> CreateHandle(); |
void CloseHandle(); |
+ int GetStatus(); |
+ |
// Indicates whether there is space in the buffer to add more data. |
bool can_add_data() const { return can_add_data_; } |