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

Unified Diff: ipc/ipc_channel_proxy.h

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_mojo.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_proxy.h
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h
index 14b5fe0a4d86240f5ccd96ac8a5b2a9b16fc3792..7b9d408ca3b1c9b1d0d11e21a45a480616af9d37 100644
--- a/ipc/ipc_channel_proxy.h
+++ b/ipc/ipc_channel_proxy.h
@@ -265,9 +265,6 @@ class IPC_EXPORT ChannelProxy : public Endpoint, public base::NonThreadSafe {
// Sends |message| from appropriate thread.
void Send(Message* message);
- // Indicates if the underlying channel's Send is thread-safe.
- bool IsChannelSendThreadSafe() const;
-
// Requests a remote associated interface on the IPC thread.
void GetRemoteAssociatedInterface(
const std::string& name,
@@ -332,7 +329,6 @@ class IPC_EXPORT ChannelProxy : public Endpoint, public base::NonThreadSafe {
const std::string& interface_name,
mojo::ScopedInterfaceEndpointHandle handle);
- void SendFromThisThread(Message* message);
void ClearChannel();
mojo::AssociatedGroup* associated_group() { return &associated_group_; }
@@ -362,9 +358,6 @@ class IPC_EXPORT ChannelProxy : public Endpoint, public base::NonThreadSafe {
// Lock for |channel_| value. This is only relevant in the context of
// thread-safe send.
base::Lock channel_lifetime_lock_;
- // Indicates the thread-safe send availability. This is constant once
- // |channel_| is set.
- bool channel_send_thread_safe_;
// Routes a given message to a proper subset of |filters_|, depending
// on which message classes a filter might support.
« no previous file with comments | « ipc/ipc_channel_mojo.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698