| Index: webrtc/p2p/base/transportchannel.h
|
| diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h
|
| index 15b38eee84b34497546f0a8a093e18ef4199aeb1..d46c5deb0d0e29ff737efdeb191be868551bdce2 100644
|
| --- a/webrtc/p2p/base/transportchannel.h
|
| +++ b/webrtc/p2p/base/transportchannel.h
|
| @@ -37,7 +37,12 @@ enum PacketFlags {
|
| };
|
|
|
| // Used to indicate channel's connection state.
|
| -enum TransportChannelState { STATE_CONNECTING, STATE_COMPLETED, STATE_FAILED };
|
| +enum TransportChannelState {
|
| + STATE_INIT,
|
| + STATE_CONNECTING, // Will enter this state once a connection is created
|
| + STATE_COMPLETED,
|
| + STATE_FAILED
|
| +};
|
|
|
| // A TransportChannel represents one logical stream of packets that are sent
|
| // between the two sides of a session.
|
| @@ -147,7 +152,6 @@ class TransportChannel : public sigslot::has_slots<> {
|
| // Sets the receiving state, signaling if necessary.
|
| void set_receiving(bool receiving);
|
|
|
| -
|
| private:
|
| // Used mostly for debugging.
|
| std::string content_name_;
|
|
|