| Index: content/public/browser/stream_handle.h
|
| diff --git a/content/public/browser/stream_handle.h b/content/public/browser/stream_handle.h
|
| index 94591d7d41d320819277f298939030bd80844c1d..7a8fb3225cd86f53480a55880ee93594c2179aad 100644
|
| --- a/content/public/browser/stream_handle.h
|
| +++ b/content/public/browser/stream_handle.h
|
| @@ -5,17 +5,14 @@
|
| #ifndef CONTENT_PUBLIC_BROWSER_STREAM_HANDLE_H_
|
| #define CONTENT_PUBLIC_BROWSER_STREAM_HANDLE_H_
|
|
|
| -#include "base/callback.h"
|
| -#include "base/memory/ref_counted.h"
|
| +#include "base/callback_forward.h"
|
| #include "content/common/content_export.h"
|
| #include "url/gurl.h"
|
|
|
| -namespace net {
|
| -class HttpResponseHeaders;
|
| -}
|
| -
|
| namespace content {
|
|
|
| +// A handle to a Stream. When the handle is destroyed, the stream is released
|
| +// and the URL is invalidated.
|
| class CONTENT_EXPORT StreamHandle {
|
| public:
|
| virtual ~StreamHandle() {}
|
| @@ -23,15 +20,6 @@ class CONTENT_EXPORT StreamHandle {
|
| // Gets the URL the stream can be read from.
|
| virtual const GURL& GetURL() = 0;
|
|
|
| - // Gets the original URL being redirected to this Stream.
|
| - virtual const GURL& GetOriginalURL() = 0;
|
| -
|
| - // Get the MIME type associated with this Stream.
|
| - virtual const std::string& GetMimeType() = 0;
|
| -
|
| - // Get the HTTP response headers associated with this Stream.
|
| - virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() = 0;
|
| -
|
| // Add a callback which will be called when the Stream is closed.
|
| virtual void AddCloseListener(const base::Closure& callback) = 0;
|
| };
|
|
|