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

Unified Diff: ipc/ipc_channel.h

Issue 2301103003: Use ChannelMojo for NaCl PPAPI channels. (Closed)
Patch Set: Created 4 years, 2 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 | « content/renderer/pepper/host_dispatcher_wrapper.cc ('k') | ipc/ipc_channel_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel.h
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
index ba5ef42ee7a0f75feaeb4335de0c28ebc2c8b0fb..2861d0f224814f4b0ca107087e7f789be9363cd0 100644
--- a/ipc/ipc_channel.h
+++ b/ipc/ipc_channel.h
@@ -297,12 +297,11 @@ class IPC_EXPORT Channel : public Endpoint {
static std::string GenerateVerifiedChannelID(const std::string& prefix);
#endif
- // Generates a pair of channel handles that can be used as the client and
- // server ends of a ChannelMojo. |name_postfix| is appended to the end of the
- // handle name to help identify the handles.
+ // Deprecated: Create a mojo::MessagePipe directly and release() its handles
+ // instead.
//
- // Note, when using ChannelMojo, |ChannelHandle::name| serves no functional
- // purpose other than to identify the channel in logging.
+ // Generates a pair of channel handles that can be used as the client and
+ // server ends of a ChannelMojo. |name_postfix| is ignored.
static void GenerateMojoChannelHandlePair(
const std::string& name_postfix,
IPC::ChannelHandle* handle0,
« no previous file with comments | « content/renderer/pepper/host_dispatcher_wrapper.cc ('k') | ipc/ipc_channel_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698