Chromium Code Reviews| Index: webrtc/p2p/base/p2ptransportchannel.h |
| diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h |
| index 692b09843bf7dbf470cc41a3972bd7a8f8fe03cf..96a6f4ab9d95c09df4de799715eb7de40c1c9bf4 100644 |
| --- a/webrtc/p2p/base/p2ptransportchannel.h |
| +++ b/webrtc/p2p/base/p2ptransportchannel.h |
| @@ -276,11 +276,8 @@ class P2PTransportChannel : public TransportChannelImpl, |
| void AddConnection(Connection* connection); |
| void OnPortReady(PortAllocatorSession *session, PortInterface* port); |
| - // TODO(honghaiz): Merge the two methods OnPortsRemoved and OnPortPruned but |
| - // still log the reason of removing. |
| void OnPortsRemoved(PortAllocatorSession* session, |
| const std::vector<PortInterface*>& ports); |
|
pthatcher1
2016/07/27 18:38:11
I like the merging. Can we call it OnPortsPruned?
honghaiz3
2016/07/27 21:31:26
Done.
|
| - void OnPortPruned(PortAllocatorSession* session, PortInterface* port); |
| void OnCandidatesReady(PortAllocatorSession *session, |
| const std::vector<Candidate>& candidates); |
| void OnCandidatesRemoved(PortAllocatorSession* session, |