summaryrefslogtreecommitdiffstats
path: root/content/public/browser/stream_handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/stream_handle.h')
-rw-r--r--content/public/browser/stream_handle.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/content/public/browser/stream_handle.h b/content/public/browser/stream_handle.h
index 877c51d..b87402e 100644
--- a/content/public/browser/stream_handle.h
+++ b/content/public/browser/stream_handle.h
@@ -6,9 +6,14 @@
#define CONTENT_PUBLIC_BROWSER_STREAM_HANDLE_H_
#include "base/callback.h"
+#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
#include "url/gurl.h"
+namespace net {
+class HttpResponseHeaders;
+}
+
namespace content {
class CONTENT_EXPORT StreamHandle {
@@ -25,7 +30,7 @@ class CONTENT_EXPORT StreamHandle {
virtual const std::string& GetMimeType() = 0;
// Get the HTTP response headers associated with this Stream.
- virtual const std::string& GetResponseHeaders() = 0;
+ virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() = 0;
};
} // namespace content