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

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

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 | « no previous file | mojo/edk/system/channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel.h
diff --git a/mojo/edk/system/channel.h b/mojo/edk/system/channel.h
index 7bbdfd108487ebe5e891c9889bea09cdd5ed5ae4..64acb7d22b1768a4cfba2a2e5fdb276b64fcbb73 100644
--- a/mojo/edk/system/channel.h
+++ b/mojo/edk/system/channel.h
@@ -151,14 +151,6 @@ class MOJO_SYSTEM_IMPL_EXPORT Channel
MessageInTransitQueue* message_queue,
scoped_refptr<ChannelEndpoint> peer_endpoint);
- // Serializes the given endpoint, writing to |destination| auxiliary
- // information to be transmitted to the peer |Channel| via some other means.
- // |destination| should point to a buffer of (at least) the size returned by
- // |GetSerializedEndpointSize()| (exactly that much data will be written).
- // TODO(vtl): Delete this once I get rid of its use in tests.
- void SerializeEndpoint(scoped_refptr<ChannelEndpoint> endpoint,
- void* destination);
-
// Deserializes an endpoint that was sent from the peer |Channel| (using
// |SerializeEndpoint...()|. |source| should be (a copy of) the data that
// |SerializeEndpoint...()| wrote, and must be (at least)
« no previous file with comments | « no previous file | mojo/edk/system/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698