Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Issue 11490024: Avoid disk accesses on the wrong thread in URLRequestFileJob (Closed)

Created:
8 years ago by pivanof
Modified:
8 years ago
Reviewers:
wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Avoid disk accesses on the wrong thread in URLRequestFileJob while opening and positioning in the file. Relanding of https://chromiumcodereview.appspot.com/10695110/. First attempt to commit was reverted because FileStream blocked deletion of temporary files in tests on Windows. After https://chromiumcodereview.appspot.com/11440008/ FileStream always opens files with PLATFORM_FILE_SHARE_DELETE allowing tests to successfully delete temporary files. Thus this CL should be safe to commit now (without changes compared to initial commit). BUG=59849, 114783 TEST=net_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173425

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -103 lines) Patch
M net/url_request/url_request_file_job.h View 2 chunks +34 lines, -7 lines 0 comments Download
M net/url_request/url_request_file_job.cc View 8 chunks +81 lines, -96 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
pivanof
8 years ago (2012-12-11 01:33:20 UTC) #1
wtc
Patch set 1 LGTM. Can you explain why opening files with the FILE_SHARE_DELETE flag on ...
8 years ago (2012-12-11 22:34:03 UTC) #2
pivanof
On 2012/12/11 22:34:03, wtc wrote: > Does the FILE_SHARE_DELETE flag allow a DeleteFile() call > ...
8 years ago (2012-12-11 22:45:26 UTC) #3
wtc
On 2012/12/11 22:45:26, pivanof wrote: > > I've included additional info about this in the ...
8 years ago (2012-12-12 20:07:04 UTC) #4
pivanof
OK. I commit this CL as is and make a comment improvement in the separate ...
8 years ago (2012-12-17 05:22:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/paivanof@gmail.com/11490024/1
8 years ago (2012-12-17 05:23:15 UTC) #6
commit-bot: I haz the power
8 years ago (2012-12-17 07:11:05 UTC) #7
Message was sent while issue was closed.
Change committed as 173425

Powered by Google App Engine
This is Rietveld 408576698