|
Thread IO safety: annotate file_util, and block IO thread from doing IO
- Mark functions in file_util_posix as requiring permission to perform
disk actions.
- Mark the IO thread as disallowed from performing disk actions.
- Temporarily work around the protections in places where we currently
have bugs.
BUG= 59847, 59849, 60207, 60211
TEST=no dchecks in debug builds
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=63600
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -8 lines) |
Patch |
 |
M |
base/file_util_posix.cc
|
View
|
1
2
3
4
5
6
|
24 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/shared_memory_posix.cc
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/thread_restrictions.h
|
View
|
1
2
3
4
5
|
2 chunks |
+24 lines, -3 lines |
0 comments
|
Download
|
 |
M |
base/thread_restrictions.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/autoupdate_interceptor.cc
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/url_request_mock_http_job.cc
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/url_request_mock_util.cc
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_dialog_cloud_uitest.cc
|
View
|
4
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/service/service_process_control.cc
|
View
|
8
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_resource.cc
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_file_job.cc
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|