Home | History | Annotate | Download | only in streams

Lines Matching refs:Stream

27 // A stream that sends data from an arbitrary source to an internal URL
31 // reader to consume part of the stream, then pass it along to another client
32 // to continue processing the stream.
33 class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> {
41 // Creates a stream.
46 Stream(StreamRegistry* registry,
50 // Sets the reader of this stream. Returns true on success, or false if there
60 // Adds the data in |buffer| to the stream. Takes ownership of |buffer|.
62 // Adds data of |size| at |data| to the stream. This method creates a copy
66 // Notifies this stream that it will not be receiving any more data.
69 // Reads a maximum of |buf_size| from the stream into |buf|. Sets
72 // and STREAM_COMPLETE if the stream is finalized and all data has been read.
85 friend class base::RefCountedThreadSafe<Stream>;
87 virtual ~Stream();
109 base::WeakPtrFactory<Stream> weak_ptr_factory_;
110 DISALLOW_COPY_AND_ASSIGN(Stream);