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

Unified Diff: remoting/protocol/ice_transport_channel.h

Issue 1545743002: Move ownership of Transport out of Session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_client
Patch Set: Created 5 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 | « remoting/protocol/ice_transport.cc ('k') | remoting/protocol/ice_transport_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/ice_transport_channel.h
diff --git a/remoting/protocol/ice_transport_channel.h b/remoting/protocol/ice_transport_channel.h
index 7bde3e5e1c0539fbc948b3671098b58d39a02a0d..08acad9975f9a560f0d35932a8f7e720407a05c8 100644
--- a/remoting/protocol/ice_transport_channel.h
+++ b/remoting/protocol/ice_transport_channel.h
@@ -37,26 +37,26 @@ class IceTransportChannel : public sigslot::has_slots<> {
// Called to pass ICE credentials to the session. Used only for STANDARD
// version of ICE, see SetIceVersion().
- virtual void OnTransportIceCredentials(IceTransportChannel* transport,
+ virtual void OnChannelIceCredentials(IceTransportChannel* transport,
const std::string& ufrag,
const std::string& password) = 0;
// Called when the transport generates a new candidate that needs
// to be passed to the AddRemoteCandidate() method on the remote
// end of the connection.
- virtual void OnTransportCandidate(IceTransportChannel* transport,
+ virtual void OnChannelCandidate(IceTransportChannel* transport,
const cricket::Candidate& candidate) = 0;
// Called when transport route changes. Can be called even before
// the transport is connected.
- virtual void OnTransportRouteChange(IceTransportChannel* transport,
+ virtual void OnChannelRouteChange(IceTransportChannel* transport,
const TransportRoute& route) = 0;
- // Called when when the transport has failed to connect or reconnect.
- virtual void OnTransportFailed(IceTransportChannel* transport) = 0;
+ // Called when when the channel has failed to connect or reconnect.
+ virtual void OnChannelFailed(IceTransportChannel* transport) = 0;
- // Called when the transport is about to be deleted.
- virtual void OnTransportDeleted(IceTransportChannel* transport) = 0;
+ // Called when the channel is about to be deleted.
+ virtual void OnChannelDeleted(IceTransportChannel* transport) = 0;
};
typedef base::Callback<void(scoped_ptr<P2PDatagramSocket>)> ConnectedCallback;
« no previous file with comments | « remoting/protocol/ice_transport.cc ('k') | remoting/protocol/ice_transport_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698