diff options
author | tyoshino@chromium.org <tyoshino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 07:43:24 +0000 |
---|---|---|
committer | tyoshino@chromium.org <tyoshino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 07:43:24 +0000 |
commit | 07516269ca14f8ef4cf6bfaa721f169290ef7318 (patch) | |
tree | 48b5db5a9942032ea55e0bda6187d4afc1fa6935 /chromeos/chromeos.gyp | |
parent | 10fbd595e72eb145399ebf94dbd472281cc2b053 (diff) | |
download | chromium_src-07516269ca14f8ef4cf6bfaa721f169290ef7318.zip chromium_src-07516269ca14f8ef4cf6bfaa721f169290ef7318.tar.gz chromium_src-07516269ca14f8ef4cf6bfaa721f169290ef7318.tar.bz2 |
Limit the total memory usage for Stream instances
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
Diffstat (limited to 'chromeos/chromeos.gyp')
0 files changed, 0 insertions, 0 deletions