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

Unified Diff: ipc/ipc_sync_channel.cc

Issue 2343033002: IPC: Delete thread-safe send support (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_sync_channel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel.cc
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
index a627d420e300f9c2133c7aa3cbd25eec63aa5c6a..e2c6cdba9058b4c9de292105801a4d144bffb13d 100644
--- a/ipc/ipc_sync_channel.cc
+++ b/ipc/ipc_sync_channel.cc
@@ -542,8 +542,7 @@ void SyncChannel::SetRestrictDispatchChannelGroup(int group) {
scoped_refptr<SyncMessageFilter> SyncChannel::CreateSyncMessageFilter() {
scoped_refptr<SyncMessageFilter> filter = new SyncMessageFilter(
- sync_context()->shutdown_event(),
- sync_context()->IsChannelSendThreadSafe());
+ sync_context()->shutdown_event());
AddFilter(filter.get());
if (!did_init())
pre_init_sync_message_filters_.push_back(filter);
@@ -699,10 +698,6 @@ void SyncChannel::StartWatching() {
}
void SyncChannel::OnChannelInit() {
- for (const auto& filter : pre_init_sync_message_filters_) {
- filter->set_is_channel_send_thread_safe(
- context()->IsChannelSendThreadSafe());
- }
pre_init_sync_message_filters_.clear();
}
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_sync_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698