| Index: webrtc/p2p/base/port.h
|
| diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
|
| index b95d985b21e8a997536a386a5b7364d66ce791a3..58660b6f0c24c256c56a7494c0b8a397783332b0 100644
|
| --- a/webrtc/p2p/base/port.h
|
| +++ b/webrtc/p2p/base/port.h
|
| @@ -505,6 +505,9 @@ class Connection : public rtc::MessageHandler,
|
| bool use_candidate_attr() const { return use_candidate_attr_; }
|
| void set_use_candidate_attr(bool enable);
|
|
|
| + bool nominated() const { return nominated_; }
|
| + void set_nominated(bool nominated);
|
| +
|
| void set_remote_ice_mode(IceMode mode) {
|
| remote_ice_mode_ = mode;
|
| }
|
| @@ -598,10 +601,13 @@ class Connection : public rtc::MessageHandler,
|
| bool connected_;
|
| bool pruned_;
|
| // By default |use_candidate_attr_| flag will be true,
|
| - // as we will be using agrressive nomination.
|
| + // as we will be using aggressive nomination.
|
| // But when peer is ice-lite, this flag "must" be initialized to false and
|
| // turn on when connection becomes "best connection".
|
| bool use_candidate_attr_;
|
| + // Whether this connection has been nominated by the controlling side via
|
| + // the use_candidate attribute.
|
| + bool nominated_;
|
| IceMode remote_ice_mode_;
|
| StunRequestManager requests_;
|
| uint32 rtt_;
|
|
|