diff options
Diffstat (limited to 'chromium/content/browser/streams/stream.h')
-rw-r--r-- | chromium/content/browser/streams/stream.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/content/browser/streams/stream.h b/chromium/content/browser/streams/stream.h index 3937f5b9e38..e7e9586ca96 100644 --- a/chromium/content/browser/streams/stream.h +++ b/chromium/content/browser/streams/stream.h @@ -13,6 +13,7 @@ #include "url/gurl.h" namespace net { +class HttpResponseHeaders; class IOBuffer; } @@ -77,8 +78,10 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> { // and STREAM_COMPLETE if the stream is finalized and all data has been read. StreamState ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read); - scoped_ptr<StreamHandle> CreateHandle(const GURL& original_url, - const std::string& mime_type); + scoped_ptr<StreamHandle> CreateHandle( + const GURL& original_url, + const std::string& mime_type, + scoped_refptr<net::HttpResponseHeaders> response_headers); void CloseHandle(); // Indicates whether there is space in the buffer to add more data. |