| 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 dc64dade6daa0bfb98e5b65d090181b3440cab72..149448541ed800954b32b36dc55890e723609abd 100644
|
| --- a/content/browser/streams/stream_handle_impl.h
|
| +++ b/content/browser/streams/stream_handle_impl.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <vector>
|
|
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/synchronization/lock.h"
|
| #include "content/public/browser/stream_handle.h"
|
| @@ -18,28 +19,20 @@ class MessageLoopProxy;
|
| namespace content {
|
|
|
| class Stream;
|
| +struct ResourceResponse;
|
|
|
| class StreamHandleImpl : public StreamHandle {
|
| public:
|
| - StreamHandleImpl(const base::WeakPtr<Stream>& stream,
|
| - const GURL& original_url,
|
| - const std::string& mime_type,
|
| - scoped_refptr<net::HttpResponseHeaders> response_headers);
|
| + StreamHandleImpl(const base::WeakPtr<Stream>& stream);
|
| virtual ~StreamHandleImpl();
|
|
|
| private:
|
| // StreamHandle overrides
|
| virtual const GURL& GetURL() OVERRIDE;
|
| - virtual const GURL& GetOriginalURL() OVERRIDE;
|
| - virtual const std::string& GetMimeType() OVERRIDE;
|
| - virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() OVERRIDE;
|
| virtual void AddCloseListener(const base::Closure& callback) OVERRIDE;
|
|
|
| base::WeakPtr<Stream> stream_;
|
| GURL url_;
|
| - GURL original_url_;
|
| - std::string mime_type_;
|
| - scoped_refptr<net::HttpResponseHeaders> response_headers_;
|
| base::MessageLoopProxy* stream_message_loop_;
|
| std::vector<base::Closure> close_listeners_;
|
| };
|
|
|