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

Unified Diff: content/browser/streams/stream_handle_impl.h

Issue 185663002: Pass http response headers to the streamsPrivate API callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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/browser/streams/stream_handle_impl.h
diff --git a/content/browser/streams/stream_handle_impl.h b/content/browser/streams/stream_handle_impl.h
index 1d3614d286169073474e07eb7a616a7181970ae7..deb094f415047c5b6e3e58e98e703a8a7bed4320 100644
--- a/content/browser/streams/stream_handle_impl.h
+++ b/content/browser/streams/stream_handle_impl.h
@@ -21,7 +21,8 @@ class StreamHandleImpl : public StreamHandle {
public:
StreamHandleImpl(const base::WeakPtr<Stream>& stream,
const GURL& original_url,
- const std::string& mime_type);
+ const std::string& mime_type,
+ const std::string& response_headers);
virtual ~StreamHandleImpl();
private:
@@ -29,11 +30,13 @@ class StreamHandleImpl : public StreamHandle {
virtual const GURL& GetURL() OVERRIDE;
virtual const GURL& GetOriginalURL() OVERRIDE;
virtual const std::string& GetMimeType() OVERRIDE;
+ virtual const std::string& GetResponseHeaders() OVERRIDE;
base::WeakPtr<Stream> stream_;
GURL url_;
GURL original_url_;
std::string mime_type_;
+ std::string response_headers_;
base::MessageLoopProxy* stream_message_loop_;
};

Powered by Google App Engine
This is Rietveld 408576698