diff options
author | vrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 19:57:36 +0000 |
---|---|---|
committer | vrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 19:57:36 +0000 |
commit | 5b5bb9d530c0085a5b8becad2a2302737e215890 (patch) | |
tree | 4d15db1e004de0d17c9baeaa73ec13900a43f82f /chrome/browser/spellcheck_host.h | |
parent | 11c4c816a056ad651aefc241446b77f4e57cebd8 (diff) | |
download | chromium_src-5b5bb9d530c0085a5b8becad2a2302737e215890.zip chromium_src-5b5bb9d530c0085a5b8becad2a2302737e215890.tar.gz chromium_src-5b5bb9d530c0085a5b8becad2a2302737e215890.tar.bz2 |
Adding Abort() to DataSource to wake up hanging Read()
This change adds an Abort() method to BufferedDataSource, which will
wake up a blocking read if one exists. When WebMediaPlayerImpl being
destroyed, it now tells BufferedDataSource to abort before it tells
the pipeline to stop, so the pipeline will not hang while waiting
for a never-ending Read() to return.
BUG=54465
TEST=test_shell_tests
Review URL: http://codereview.chromium.org/4009002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellcheck_host.h')
0 files changed, 0 insertions, 0 deletions