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

Unified Diff: remoting/protocol/transport.h

Issue 1099203005: Revert of Use standard ICE in Chromoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « remoting/protocol/session_config.cc ('k') | remoting/test/protocol_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/transport.h
diff --git a/remoting/protocol/transport.h b/remoting/protocol/transport.h
index 4223796a6407c551a9b69cfbd9249eabad024c0a..d4c4b3f8d8fa466017052c372e3764cf89c78fbc 100644
--- a/remoting/protocol/transport.h
+++ b/remoting/protocol/transport.h
@@ -44,11 +44,6 @@
class ChannelAuthenticator;
-enum class TransportRole {
- SERVER,
- CLIENT,
-};
-
struct TransportRoute {
enum RouteType {
DIRECT,
@@ -73,12 +68,6 @@
public:
EventHandler() {};
virtual ~EventHandler() {};
-
- // Called to pass ICE credentials to the session. Used only for STANDARD
- // version of ICE, see SetIceVersion().
- virtual void OnTransportIceCredentials(Transport* transport,
- const std::string& ufrag,
- const std::string& password) = 0;
// Called when the transport generates a new candidate that needs
// to be passed to the AddRemoteCandidate() method on the remote
@@ -108,10 +97,6 @@
Transport::EventHandler* event_handler,
const ConnectedCallback& callback) = 0;
- // Sets remote ICE credentials.
- virtual void SetRemoteCredentials(const std::string& ufrag,
- const std::string& password) = 0;
-
// Adds |candidate| received from the peer.
virtual void AddRemoteCandidate(const cricket::Candidate& candidate) = 0;
@@ -122,12 +107,6 @@
// Returns true if the channel is already connected.
virtual bool is_connected() const = 0;
-
- // Sets ICE version for the transport.
- //
- // TODO(sergeyu): Remove this when support for legacy ICE is removed.
- // crbug.com/473758
- virtual void SetUseStandardIce(bool use_standard_ice) {}
private:
DISALLOW_COPY_AND_ASSIGN(Transport);
« no previous file with comments | « remoting/protocol/session_config.cc ('k') | remoting/test/protocol_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698