summaryrefslogtreecommitdiffstats
path: root/content/browser/byte_stream.h
Commit message (Collapse)AuthorAgeFilesLines
* Limit the total memory usage for Stream instancestyoshino@chromium.org2013-08-221-0/+4
| | | | | | | | | | | | | | | | Stream instances report their memory usage to StreamRegistry to get approval. If rejected, they unregisters themselves. writer_ and reader_ are cleared immediately when memory usage violation happens. Added task runner DCHECKs to ByteStreamReaderImpl and ByteStreamWriterImpl so that we can check we're not violating thread restriction. BUG=169957 Review URL: https://chromiumcodereview.appspot.com/22908008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218933 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up on byte_stream (mainly style and includes)tyoshino@chromium.org2013-08-061-5/+1
| | | | | | | | | | | | | - Don't allocate ContentVector if input_contents_size_ is 0 - Remove unused weak_ptr.h and lock.h - Add comments required by style guide - Move includes not used in .h to .cc BUG= Review URL: https://chromiumcodereview.appspot.com/21839002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215958 0039d316-1c4b-4281-b951-d872f2087c98
* Make ByteStream independent from DownloadInterruptReasontyoshino@chromium.org2013-08-021-9/+10
| | | | | | | | | | | | | | | Change status type to int to make it portable to other component. After this change, ByteStream could be moved under src/net/base/ or src/base directory. - Comment fix (MaybePostToPeer -> Write) BUG=169957 Review URL: https://chromiumcodereview.appspot.com/18284005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215265 0039d316-1c4b-4281-b951-d872f2087c98
* Add Flush() method to ByteStream.tyoshino@chromium.org2013-07-311-0/+6
| | | | | | | | | | | To be used by Stream implementation to push received data to StreamURLRequestJob at arbitrary point. BUG=169957 Review URL: https://chromiumcodereview.appspot.com/18098004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214545 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an out of date TODOzork@chromium.org2013-06-061-3/+0
| | | | | | | | BUG=NONE Review URL: https://chromiumcodereview.appspot.com/16394002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204401 0039d316-1c4b-4281-b951-d872f2087c98
* Move ByteStream to content/browserzork@chromium.org2013-03-211-0/+199
BUG=180833 Review URL: https://chromiumcodereview.appspot.com/12440036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189665 0039d316-1c4b-4281-b951-d872f2087c98