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

Side by Side Diff: remoting/protocol/ice_connection_to_host.h

Issue 2146213002: Add support for dynamic channels in WebrtcTransport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_ 5 #ifndef REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_
6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_ 6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Session::EventHandler interface. 59 // Session::EventHandler interface.
60 void OnSessionStateChange(Session::State state) override; 60 void OnSessionStateChange(Session::State state) override;
61 61
62 // IceTransport::EventHandler interface. 62 // IceTransport::EventHandler interface.
63 void OnIceTransportRouteChange(const std::string& channel_name, 63 void OnIceTransportRouteChange(const std::string& channel_name,
64 const TransportRoute& route) override; 64 const TransportRoute& route) override;
65 void OnIceTransportError(ErrorCode error) override; 65 void OnIceTransportError(ErrorCode error) override;
66 66
67 // ChannelDispatcherBase::EventHandler interface. 67 // ChannelDispatcherBase::EventHandler interface.
68 void OnChannelInitialized(ChannelDispatcherBase* channel_dispatcher) override; 68 void OnChannelInitialized(ChannelDispatcherBase* channel_dispatcher) override;
69 void OnChannelClosed(ChannelDispatcherBase* channel_dispatcher) override;
69 70
70 // MonitoredVideoStub::EventHandler interface. 71 // MonitoredVideoStub::EventHandler interface.
71 virtual void OnVideoChannelStatus(bool active); 72 virtual void OnVideoChannelStatus(bool active);
72 73
73 void NotifyIfChannelsReady(); 74 void NotifyIfChannelsReady();
74 75
75 // Closes the P2P connection. 76 // Closes the P2P connection.
76 void CloseChannels(); 77 void CloseChannels();
77 78
78 void SetState(State state, ErrorCode error); 79 void SetState(State state, ErrorCode error);
(...skipping 22 matching lines...) Expand all
101 ErrorCode error_ = OK; 102 ErrorCode error_ = OK;
102 103
103 private: 104 private:
104 DISALLOW_COPY_AND_ASSIGN(IceConnectionToHost); 105 DISALLOW_COPY_AND_ASSIGN(IceConnectionToHost);
105 }; 106 };
106 107
107 } // namespace protocol 108 } // namespace protocol
108 } // namespace remoting 109 } // namespace remoting
109 110
110 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_ 111 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_
OLDNEW
« no previous file with comments | « remoting/protocol/ice_connection_to_client.cc ('k') | remoting/protocol/ice_connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698