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

Unified Diff: webrtc/p2p/base/transport.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/session.cc ('k') | webrtc/p2p/base/transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/transport.h
diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h
index 7b78a8d9ec18647063d027fec307b9018b5efe50..553965595302e216e610a9bcca76df0dc9342ac8 100644
--- a/webrtc/p2p/base/transport.h
+++ b/webrtc/p2p/base/transport.h
@@ -142,7 +142,6 @@ class Transport : public rtc::MessageHandler,
Transport(rtc::Thread* signaling_thread,
rtc::Thread* worker_thread,
const std::string& content_name,
- const std::string& type,
PortAllocator* allocator);
virtual ~Transport();
@@ -153,8 +152,6 @@ class Transport : public rtc::MessageHandler,
// Returns the content_name of this transport.
const std::string& content_name() const { return content_name_; }
- // Returns the type of this transport.
- const std::string& type() const { return type_; }
// Returns the port allocator object for this transport.
PortAllocator* port_allocator() { return allocator_; }
@@ -213,8 +210,6 @@ class Transport : public rtc::MessageHandler,
// Get a copy of the remote certificate in use by the specified channel.
bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert);
- TransportProtocol protocol() const { return protocol_; }
-
// Create, destroy, and lookup the channels of this type by their components.
TransportChannelImpl* CreateChannel(int component);
// Note: GetChannel may lead to race conditions, since the mutex is not held
@@ -326,7 +321,7 @@ class Transport : public rtc::MessageHandler,
std::string* error_desc);
// Negotiates the transport parameters based on the current local and remote
- // transport description, such at the version of ICE to use, and whether DTLS
+ // transport description, such as the ICE role to use, and whether DTLS
// should be activated.
// Derived classes can negotiate their specific parameters here, but must call
// the base as well.
@@ -452,7 +447,6 @@ class Transport : public rtc::MessageHandler,
rtc::Thread* const signaling_thread_;
rtc::Thread* const worker_thread_;
const std::string content_name_;
- const std::string type_;
PortAllocator* const allocator_;
bool destroyed_;
TransportState readable_;
@@ -462,7 +456,6 @@ class Transport : public rtc::MessageHandler,
bool connect_requested_;
IceRole ice_role_;
uint64 tiebreaker_;
- TransportProtocol protocol_;
IceMode remote_ice_mode_;
int channel_receiving_timeout_;
rtc::scoped_ptr<TransportDescription> local_description_;
@@ -479,9 +472,6 @@ class Transport : public rtc::MessageHandler,
RTC_DISALLOW_COPY_AND_ASSIGN(Transport);
};
-// Extract a TransportProtocol from a TransportDescription.
-TransportProtocol TransportProtocolFromDescription(
- const TransportDescription* desc);
} // namespace cricket
« no previous file with comments | « webrtc/p2p/base/session.cc ('k') | webrtc/p2p/base/transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698