| Index: content/browser/streams/stream.h
|
| diff --git a/content/browser/streams/stream.h b/content/browser/streams/stream.h
|
| index 912e4374e6a9e6b49f90d6d14c3384ce71e74401..4dd852f1a43ad8d7912b338e98ca3725c58935df 100644
|
| --- a/content/browser/streams/stream.h
|
| +++ b/content/browser/streams/stream.h
|
| @@ -38,10 +38,13 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> {
|
| STREAM_EMPTY,
|
| };
|
|
|
| - // Creates a stream useable from the |security_origin|.
|
| + // Creates a stream.
|
| + //
|
| + // Security origin of Streams is checked in Blink (See BlobRegistry,
|
| + // BlobURL and SecurityOrigin to understand how it works). There's no security
|
| + // origin check in Chromium side for now.
|
| Stream(StreamRegistry* registry,
|
| StreamWriteObserver* write_observer,
|
| - const GURL& security_origin,
|
| const GURL& url);
|
|
|
| // Sets the reader of this stream. Returns true on success, or false if there
|
| @@ -75,8 +78,6 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> {
|
|
|
| const GURL& url() const { return url_; }
|
|
|
| - const GURL& security_origin() const { return security_origin_; }
|
| -
|
| private:
|
| friend class base::RefCountedThreadSafe<Stream>;
|
|
|
| @@ -88,7 +89,6 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> {
|
| size_t data_bytes_read_;
|
| bool can_add_data_;
|
|
|
| - GURL security_origin_;
|
| GURL url_;
|
|
|
| scoped_refptr<net::IOBuffer> data_;
|
|
|