|
Add a base class for objects that want to filter messages on the IO thread. I'll switch the filters to it in future separate changes.
I've also taken out the special case for an initial filter from the IPC classes. The reason it existed was that there was a race condition of some messages not being filtered if a filter is added after construction but before launching the peer process. Taking it out allows us to add more than one filter and makes things a little cleaner.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68043
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+186 lines, -65 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
chrome/browser/automation/automation_provider.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
chrome/browser/browser_io_message_filter.h
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
chrome/browser/browser_io_message_filter.cc
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/renderer_host/browser_render_process_host.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/renderer_host/browser_render_process_host.cc
|
View
|
|
4 chunks |
+20 lines, -16 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/service/service_process_control.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/chrome_browser.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/common/child_thread.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/gpu/gpu_channel.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/plugin/plugin_channel_base.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/renderer/gpu_channel_host.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/service/service_ipc_server.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/test/automation/automation_proxy.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ipc/ipc_channel_proxy.h
|
View
|
1
|
6 chunks |
+24 lines, -8 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ipc/ipc_channel_proxy.cc
|
View
|
1
|
7 chunks |
+41 lines, -20 lines |
2 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ipc/ipc_sync_channel.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ipc/ipc_sync_channel.cc
|
View
|
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ipc/ipc_sync_channel_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ipc/ipc_tests.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ppapi/proxy/dispatcher.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|