|
Make Platform::queryStorageUsageAndQuota work from worker threads
For renderer/worker to browser side:
- Always use thread-local QuotaDispatcher
- Make QuotaDispatcher use ThreadSafeSender to send IPC msgs
- Keep ipc_thread_id:request_id mapping in QuotaMessageFilter
For browser to renderer/worker side:
- Add QuotaMessageFilter to receive quota IPC msgs and
to relay the msgs to the correct thread's QuotaDispatcher
BUG= 259660
TEST=no behavioral changes yet (fast/workers/*storagequota* after blink side changes)
R=jam@chromium.org, michaeln@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214162
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+236 lines, -31 lines) |
Patch |
 |
M |
content/child/child_thread.h
|
View
|
1
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/child/child_thread.cc
|
View
|
1
2
|
4 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/child/quota_dispatcher.h
|
View
|
1
|
4 chunks |
+25 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/child/quota_dispatcher.cc
|
View
|
1
2
|
7 chunks |
+43 lines, -5 lines |
0 comments
|
Download
|
 |
A |
content/child/quota_message_filter.h
|
View
|
1
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/child/quota_message_filter.cc
|
View
|
1
2
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_child.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_webkitplatformsupport_impl.h
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_webkitplatformsupport_impl.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/worker/worker_thread.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/worker/worker_webkitplatformsupport_impl.h
|
View
|
1
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/worker/worker_webkitplatformsupport_impl.cc
|
View
|
1
|
3 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|