|
Create base::WorkerPoolJob. Use it for HostResolverImpl and DirectoryLister.
This notably changes DirectoryLister to use the worker pool rather than its own joinable thread. This allows us to avoid joining the thread which would block the IO thread. It requires leaking ICU locale data on shutdown, so I've switched that to using LeakySingletonTraits.
BUG= 65331
TEST=existing
Total comments: 25
Total comments: 26
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+494 lines, -435 lines) |
Patch |
 |
|
base/base.gyp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
base/base.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
base/i18n/file_util_icu.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
|
base/worker_pool_job.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+118 lines, -0 lines |
1 comment
|
Download
|
 |
|
base/worker_pool_job.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+72 lines, -0 lines |
5 comments
|
Download
|
 |
|
base/worker_pool_job_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+100 lines, -0 lines |
2 comments
|
Download
|
 |
|
chrome/browser/dom_ui/filebrowse_ui.cc
|
View
|
1
2
3
4
|
8 chunks |
+11 lines, -23 lines |
0 comments
|
Download
|
 |
|
chrome/browser/dom_ui/slideshow_ui.cc
|
View
|
|
6 chunks |
+9 lines, -21 lines |
0 comments
|
Download
|
 |
|
chrome/browser/file_select_helper.h
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
|
chrome/browser/file_select_helper.cc
|
View
|
1
2
3
4
|
4 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
 |
|
net/base/directory_lister.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+18 lines, -51 lines |
0 comments
|
Download
|
 |
|
net/base/directory_lister.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+82 lines, -117 lines |
0 comments
|
Download
|
 |
|
net/base/directory_lister_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+17 lines, -22 lines |
0 comments
|
Download
|
 |
|
net/base/host_resolver_impl.cc
|
View
|
1
2
3
4
5
6
7
|
15 chunks |
+27 lines, -126 lines |
0 comments
|
Download
|
 |
|
net/url_request/url_request_file_dir_job.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
|
net/url_request/url_request_file_dir_job.cc
|
View
|
1
2
3
4
|
6 chunks |
+17 lines, -48 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|