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

Unified Diff: webrtc/p2p/base/port.h

Issue 1353713002: Remove GICE (again). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Undo .gclient Created 5 years, 3 months 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 | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/port.h
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
index bb054e5341286955f3edaa7f50bc295521920427..fbda9cea0104a9078ede4af028dc4e55d9083848 100644
--- a/webrtc/p2p/base/port.h
+++ b/webrtc/p2p/base/port.h
@@ -127,16 +127,6 @@ class Port : public PortInterface, public rtc::MessageHandler,
virtual const std::string& Type() const { return type_; }
virtual rtc::Network* Network() const { return network_; }
- // This method will set the flag which enables standard ICE/STUN procedures
- // in STUN connectivity checks. Currently this method does
- // 1. Add / Verify MI attribute in STUN binding requests.
- // 2. Username attribute in STUN binding request will be RFRAF:LFRAG,
- // as opposed to RFRAGLFRAG.
- virtual void SetIceProtocolType(IceProtocolType protocol) {
- ice_protocol_ = protocol;
- }
- virtual IceProtocolType IceProtocol() const { return ice_protocol_; }
-
// Methods to set/get ICE role and tiebreaker values.
IceRole GetIceRole() const { return ice_role_; }
void SetIceRole(IceRole role) { ice_role_ = role; }
@@ -273,8 +263,7 @@ class Port : public PortInterface, public rtc::MessageHandler,
// stun username attribute if present.
bool ParseStunUsername(const StunMessage* stun_msg,
std::string* local_username,
- std::string* remote_username,
- IceProtocolType* remote_protocol_type) const;
+ std::string* remote_username) const;
void CreateStunUsername(const std::string& remote_username,
std::string* stun_username_attr_str) const;
@@ -289,15 +278,6 @@ class Port : public PortInterface, public rtc::MessageHandler,
// Returns the index of the new local candidate.
size_t AddPrflxCandidate(const Candidate& local);
- // Returns if RFC 5245 ICE protocol is used.
- bool IsStandardIce() const;
-
- // Returns if Google ICE protocol is used.
- bool IsGoogleIce() const;
-
- // Returns if Hybrid ICE protocol is used.
- bool IsHybridIce() const;
-
void set_candidate_filter(uint32 candidate_filter) {
candidate_filter_ = candidate_filter;
}
@@ -384,7 +364,6 @@ class Port : public PortInterface, public rtc::MessageHandler,
AddressMap connections_;
int timeout_delay_;
bool enable_port_packets_;
- IceProtocolType ice_protocol_;
IceRole ice_role_;
uint64 tiebreaker_;
bool shared_socket_;
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698