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

Unified Diff: mojo/edk/system/channel.cc

Issue 801093002: Delete Channel::SerializeEndpoint(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 | « mojo/edk/system/channel.h ('k') | mojo/edk/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel.cc
diff --git a/mojo/edk/system/channel.cc b/mojo/edk/system/channel.cc
index d22297d666a38f17db58991b07e5ddd2f1bffb07..8889919992a9e2949561b7c73c66016040cf3f34 100644
--- a/mojo/edk/system/channel.cc
+++ b/mojo/edk/system/channel.cc
@@ -238,14 +238,6 @@ void Channel::SerializeEndpointWithRemotePeer(
<< s->receiver_endpoint_id << ")";
}
-void Channel::SerializeEndpoint(scoped_refptr<ChannelEndpoint> endpoint,
- void* destination) {
- SerializedEndpoint* s = static_cast<SerializedEndpoint*>(destination);
- s->receiver_endpoint_id = AttachAndRunEndpoint(endpoint);
- DVLOG(2) << "Serializing endpoint (remote ID = " << s->receiver_endpoint_id
- << ")";
-}
-
scoped_refptr<IncomingEndpoint> Channel::DeserializeEndpoint(
const void* source) {
const SerializedEndpoint* s = static_cast<const SerializedEndpoint*>(source);
« no previous file with comments | « mojo/edk/system/channel.h ('k') | mojo/edk/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698