summaryrefslogtreecommitdiffstats
path: root/webkit/blob/blob_url_request_job.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge 85719 - Make NotifyHeadersComplete the last call in the function.inferno@chromium.org2011-05-191-2/+2
| | | | | | | | BUG=82903 Review URL: http://codereview.chromium.org/7038017 Review URL: http://codereview.chromium.org/7050015 git-svn-id: svn://svn.chromium.org/chrome/branches/742/src@85939 0039d316-1c4b-4281-b951-d872f2087c98
* In BlobURLRequestJob, open files asynchronously to avoid blocking the IO threadadamk@chromium.org2011-03-141-66/+87
| | | | | | | | | | | | | | | | | | | | | (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
* Re-enable FileWriterSync ui_tests by adding a ScopedAllowIO to ↵adamk@chromium.org2011-03-101-0/+4
| | | | | | | | | | | BlobURLRequestJob. BUG=75548 TEST=ui_tests Review URL: http://codereview.chromium.org/6666001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77705 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestStatus URLRequestStatus;tfarina@chromium.org2011-01-131-4/+5
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6166010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71285 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestJob URLRequestJob;tfarina@chromium.org2010-12-111-2/+2
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/5607004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68935 0039d316-1c4b-4281-b951-d872f2087c98
* Fix webkit URLRequestJob subtypes to handle Kill() correctly.willchan@chromium.org2010-12-071-18/+21
| | | | | | | | | | | Kill() should prevent calling back into the delegate. So we cancel pending callbacks. BUG=63692 TEST=existing Review URL: http://codereview.chromium.org/5545003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68445 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequest URLRequest;tfarina@chromium.org2010-11-301-1/+1
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/5384002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67762 0039d316-1c4b-4281-b951-d872f2087c98
* Moving file_util::FileInfo to base::PlatformFileInfo, and adding thedumi@chromium.org2010-09-031-2/+2
| | | | | | | | | | | | last_accessed and creation_time fields. BUG=none TEST=none Review URL: http://codereview.chromium.org/3347005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58454 0039d316-1c4b-4281-b951-d872f2087c98
* Make BlobURLRequestJob::Start to continue asynchronously no matter what. Thisjianli@chromium.org2010-09-011-3/+7
| | | | | | | | | | | solves the problem when testing error cases in test shell. BUG=none TEST=none Review URL: http://codereview.chromium.org/3218013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58127 0039d316-1c4b-4281-b951-d872f2087c98
* Add an optional parameter to CreatePlatformFile() to report the typedumi@chromium.org2010-08-311-5/+10
| | | | | | | | | | | | of error that occured while trying to open/create a file. TEST=none BUG=none Review URL: http://codereview.chromium.org/3223007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58045 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compiling error.jianli@chromium.org2010-08-311-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=michaeln Review URL: http://codereview.chromium.org/3221008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57942 0039d316-1c4b-4281-b951-d872f2087c98
* Support handling blob URL and resolve blob references in upload data.jianli@chromium.org2010-08-311-0/+532
BUG=none TEST=unittest Review URL: http://codereview.chromium.org/3282003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57938 0039d316-1c4b-4281-b951-d872f2087c98