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

Issue 10696135: Offload disk accesses to WorkerPool in ExtensionProtocolHandler (Closed)

Created:
8 years, 5 months ago by pivanof
Modified:
8 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mihaip-chromium-reviews_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Offload disk accesses to WorkerPool in ExtensionProtocolHandler and URLRequestResourceBundleJob. To achieve that URLRequestSimpleJob::GetData() signature changed to allow async operation finishing. All places implementing GetData() are updated. Patch from Pavel Ivanov <paivanof@gmail.com>; BUG=59849, 90207 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147869

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -97 lines) Patch
M chrome/browser/extensions/extension_protocols.cc View 1 2 3 4 5 10 chunks +89 lines, -38 lines 0 comments Download
M content/browser/histogram_internals_request_job.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/histogram_internals_request_job.cc View 1 2 3 4 5 2 chunks +7 lines, -4 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_unittest.cc View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
M content/browser/tcmalloc_internals_request_job.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/tcmalloc_internals_request_job.cc View 1 2 3 4 5 3 chunks +7 lines, -4 lines 0 comments Download
M net/base/mime_util.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M net/url_request/url_request_data_job.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M net/url_request/url_request_data_job.cc View 1 2 3 4 5 2 chunks +7 lines, -5 lines 0 comments Download
M net/url_request/url_request_simple_job.h View 1 2 3 4 5 2 chunks +17 lines, -4 lines 0 comments Download
M net/url_request/url_request_simple_job.cc View 1 2 3 4 5 1 chunk +10 lines, -4 lines 0 comments Download
M webkit/appcache/view_appcache_internals_job.cc View 1 2 3 4 5 8 chunks +21 lines, -16 lines 0 comments Download
M webkit/blob/view_blob_internals_job.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/blob/view_blob_internals_job.cc View 1 2 3 4 5 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
pivanof
This patch is only compile-tested because I couldn't find tests where changed code paths in ...
8 years, 5 months ago (2012-07-09 04:02:50 UTC) #1
wtc
Patch set 1 LGTM. I did a cursory review of chrome/browser/extensions/extension_protocols.cc. https://chromiumcodereview.appspot.com/10696135/diff/1/net/url_request/url_request_simple_job.cc File net/url_request/url_request_simple_job.cc (right): ...
8 years, 5 months ago (2012-07-11 01:08:46 UTC) #2
pivanof
I've updated patch but after second thought... On 2012/07/11 01:08:46, wtc wrote: https://chromiumcodereview.appspot.com/10696135/diff/1/net/url_request/url_request_simple_job.h#newcode40 > net/url_request/url_request_simple_job.h:40: ...
8 years, 5 months ago (2012-07-11 03:17:35 UTC) #3
wtc
Patch set 2 LGTM. https://chromiumcodereview.appspot.com/10696135/diff/1/net/url_request/url_request_simple_job.h File net/url_request/url_request_simple_job.h (right): https://chromiumcodereview.appspot.com/10696135/diff/1/net/url_request/url_request_simple_job.h#newcode40 net/url_request/url_request_simple_job.h:40: // called. I see. Then ...
8 years, 5 months ago (2012-07-11 18:48:49 UTC) #4
pivanof
I've updated the patch. Do I understand correctly that before committing we need to have ...
8 years, 5 months ago (2012-07-12 01:10:27 UTC) #5
wtc
Sorry I wasn't clear. I am only qualified to review net/*. I reviewed everything except ...
8 years, 5 months ago (2012-07-12 01:34:11 UTC) #6
pivanof
On 2012/07/12 01:34:11, wtc wrote: > Sorry I wasn't clear. I am only qualified to ...
8 years, 5 months ago (2012-07-12 11:45:11 UTC) #7
Matt Perry
extension stuff LGTM. Thanks for taking this on. BTW, URLRequestFileJob has more disk access on ...
8 years, 5 months ago (2012-07-12 18:49:55 UTC) #8
pivanof
On 2012/07/12 18:49:55, Matt Perry wrote: > extension stuff LGTM. Thanks for taking this on. ...
8 years, 5 months ago (2012-07-12 19:09:05 UTC) #9
Matt Perry
On 2012/07/12 19:09:05, pivanof wrote: > On 2012/07/12 18:49:55, Matt Perry wrote: > > extension ...
8 years, 5 months ago (2012-07-12 19:10:30 UTC) #10
wtc
On 2012/07/12 11:45:11, pivanof wrote: > > Could you tell me did I add correct ...
8 years, 5 months ago (2012-07-13 00:06:34 UTC) #11
wtc
On 2012/07/12 11:45:11, pivanof wrote: > > Could you tell me did I add correct ...
8 years, 5 months ago (2012-07-13 00:06:36 UTC) #12
pivanof
Thank you wtc, I guess I still need your lgtm on net/* files from patch ...
8 years, 5 months ago (2012-07-13 01:49:48 UTC) #13
darin (slow to review)
https://chromiumcodereview.appspot.com/10696135/diff/12002/net/url_request/url_request_simple_job.h File net/url_request/url_request_simple_job.h (right): https://chromiumcodereview.appspot.com/10696135/diff/12002/net/url_request/url_request_simple_job.h#newcode37 net/url_request/url_request_simple_job.h:37: // - ERR_FAILED to indicate an error; questions: - ...
8 years, 5 months ago (2012-07-13 04:26:50 UTC) #14
pivanof
On 2012/07/13 04:26:50, darin wrote: > https://chromiumcodereview.appspot.com/10696135/diff/12002/net/url_request/url_request_simple_job.h > File net/url_request/url_request_simple_job.h (right): > > https://chromiumcodereview.appspot.com/10696135/diff/12002/net/url_request/url_request_simple_job.h#newcode37 > ...
8 years, 5 months ago (2012-07-13 13:01:07 UTC) #15
michaeln
/webkit lgtm
8 years, 5 months ago (2012-07-13 19:32:21 UTC) #16
wtc
Patch set 4 LGTM. I think https://chromiumcodereview.appspot.com/10695110/ should be kept separate. Thanks. https://chromiumcodereview.appspot.com/10696135/diff/9007/chrome/browser/extensions/extension_protocols.cc File chrome/browser/extensions/extension_protocols.cc ...
8 years, 5 months ago (2012-07-13 22:55:14 UTC) #17
pivanof
On 2012/07/13 22:55:14, wtc wrote: > Patch set 4 LGTM. > > I think https://chromiumcodereview.appspot.com/10695110/ ...
8 years, 5 months ago (2012-07-13 23:32:31 UTC) #18
wtc
Thank you for the clarifications. If all you need from https://chromiumcodereview.appspot.com/10695110/ is https://chromiumcodereview.appspot.com/10695110/diff/1004/net/base/mime_util.cc, you can ...
8 years, 5 months ago (2012-07-14 00:08:55 UTC) #19
pivanof
On 2012/07/14 00:08:55, wtc wrote: > https://chromiumcodereview.appspot.com/10696135/diff/9007/net/url_request/url_request_simple_job.h > File net/url_request/url_request_simple_job.h (right): > > https://chromiumcodereview.appspot.com/10696135/diff/9007/net/url_request/url_request_simple_job.h#newcode42 > ...
8 years, 5 months ago (2012-07-14 03:31:47 UTC) #20
sky
I removed myself as a reviewer from this cl since I'm not an owner of ...
8 years, 5 months ago (2012-07-16 14:55:05 UTC) #21
wtc
Patch set 5 LGTM.
8 years, 5 months ago (2012-07-16 23:37:35 UTC) #22
pivanof
darin: Your lgtm for content/* is needed. And could you also commit the CL?
8 years, 5 months ago (2012-07-16 23:48:20 UTC) #23
sky
LGTM
8 years, 5 months ago (2012-07-20 15:30:55 UTC) #24
pivanof
wtc, mpcomplete, michaeln, sky: Could any of you please commit the CL?
8 years, 5 months ago (2012-07-20 16:04:16 UTC) #25
willchan no longer on Chromium
Do you get a commit checkbox that you can check? That should submit it to ...
8 years, 5 months ago (2012-07-20 16:14:08 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/paivanof@gmail.com/10696135/15003
8 years, 5 months ago (2012-07-20 16:15:25 UTC) #27
pivanof
On 2012/07/20 16:14:08, willchan wrote: > Do you get a commit checkbox that you can ...
8 years, 5 months ago (2012-07-20 16:19:32 UTC) #28
commit-bot: I haz the power
Try job failure for 10696135-15003 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 5 months ago (2012-07-20 16:29:08 UTC) #29
pivanof
sky: I've rebased and had to add more files from content/browser/ into CL (they were ...
8 years, 5 months ago (2012-07-21 01:53:03 UTC) #30
sky
LGTM
8 years, 5 months ago (2012-07-23 15:38:01 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/paivanof@gmail.com/10696135/36007
8 years, 5 months ago (2012-07-23 15:38:51 UTC) #32
commit-bot: I haz the power
8 years, 5 months ago (2012-07-23 17:15:15 UTC) #33
Change committed as 147869

Powered by Google App Engine
This is Rietveld 408576698