summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authoradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 20:02:05 +0000
committeradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 20:02:05 +0000
commitb3b9b508b81bd690d4f8ec1cdc4b53d7e6db08a1 (patch)
tree8222cba1e35402823f1c1f2190052892cc7c1403 /content
parent18016982fceb89f48ed18b72afbdb26521e47c23 (diff)
downloadchromium_src-b3b9b508b81bd690d4f8ec1cdc4b53d7e6db08a1.zip
chromium_src-b3b9b508b81bd690d4f8ec1cdc4b53d7e6db08a1.tar.gz
chromium_src-b3b9b508b81bd690d4f8ec1cdc4b53d7e6db08a1.tar.bz2
In BlobURLRequestJob, open files asynchronously to avoid blocking the IO thread
(and tripping thread restriction asserts). The bug was found while trying to get FileWriter ui_tests to pass (see http://codereview.chromium.org/6609040/). This change also changes all callers to pass in a file_thread_proxy so the class can assume it's there and pass it to FileUtilProxy. Finally, it adds a BlobURLRequestJob test case that reads a file larger than the buffer size, to better exercise the job's behavior when ReadRawData() is called multiple times. BUG=75548 TEST=test_shell_tests,ui_tests Review URL: http://codereview.chromium.org/6612051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
0 files changed, 0 insertions, 0 deletions