Home
last modified time | relevance | path

Searched refs:ClientSession (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/remoting/webapp/
Dclient_session.js59 remoting.ClientSession = function(signalStrategy, container, hostDisplayName, class
65 this.state_ = remoting.ClientSession.State.CREATED;
171 this.defineEvents(Object.keys(remoting.ClientSession.Events));
174 base.extend(remoting.ClientSession, base.EventSource);
177 remoting.ClientSession.Events = {
189 remoting.ClientSession.prototype.getHostDisplayName = function() {
200 remoting.ClientSession.prototype.updateScrollbarVisibility = function() {
235 remoting.ClientSession.prototype.getShrinkToFit = function() {
242 remoting.ClientSession.prototype.getResizeToClient = function() {
251 remoting.ClientSession.State = {
[all …]
Dserver_log_entry.js47 case remoting.ClientSession.State.UNKNOWN:
49 case remoting.ClientSession.State.CREATED:
51 case remoting.ClientSession.State.CONNECTING:
53 case remoting.ClientSession.State.INITIALIZING:
55 case remoting.ClientSession.State.CONNECTED:
57 case remoting.ClientSession.State.CLOSED:
59 case remoting.ClientSession.State.FAILED:
61 case remoting.ClientSession.State.CONNECTION_DROPPED:
63 case remoting.ClientSession.State.CONNECTION_CANCELED:
257 remoting.ClientSession.STATS_KEY_VIDEO_BANDWIDTH, statsAccumulator);
[all …]
Dsession_connector_impl.js62 this.connectionMode_ = remoting.ClientSession.Mode.ME2ME;
256 this.connectionMode_ = remoting.ClientSession.Mode.ME2ME;
285 this.connectionMode_ = remoting.ClientSession.Mode.IT2ME;
296 if (this.connectionMode_ == remoting.ClientSession.Mode.IT2ME) {
447 this.clientSession_ = new remoting.ClientSession(
454 remoting.ClientSession.Events.stateChanged,
471 case remoting.ClientSession.State.CONNECTED:
477 remoting.ClientSession.Events.stateChanged,
481 if (this.connectionMode_ != remoting.ClientSession.Mode.IT2ME) {
488 case remoting.ClientSession.State.CREATED:
[all …]
Dlog_to_server.js99 return ((state == remoting.ClientSession.State.CONNECTING) ||
100 (state == remoting.ClientSession.State.INITIALIZING) ||
101 (state == remoting.ClientSession.State.CONNECTED));
113 return ((state == remoting.ClientSession.State.CLOSED) ||
114 (state == remoting.ClientSession.State.FAILED) ||
115 (state == remoting.ClientSession.State.CONNECTION_DROPPED) ||
116 (state == remoting.ClientSession.State.CONNECTION_CANCELED));
131 (state == remoting.ClientSession.State.CONNECTED));
Dsmart_reconnector.js52 remoting.ClientSession.Events.stateChanged,
55 remoting.ClientSession.Events.videoChannelStateChanged,
87 var State = remoting.ClientSession.State;
127 remoting.ClientSession.Events.stateChanged,
130 remoting.ClientSession.Events.videoChannelStateChanged,
Dclient_screen.js69 if (remoting.clientSession.getMode() == remoting.ClientSession.Mode.IT2ME) {
87 case remoting.ClientSession.State.CLOSED:
90 remoting.ClientSession.Mode.IT2ME) {
94 remoting.ClientSession.State.CLOSED);
100 case remoting.ClientSession.State.FAILED:
137 if (mode == remoting.ClientSession.Mode.IT2ME) {
141 remoting.ClientSession.State.FAILED
168 remoting.ClientSession.State.CONNECTED) {
332 remoting.ClientSession.State.CONNECTED
Dclient_plugin_impl.js146 this.perfStats_ = new remoting.ClientSession.PerfStats();
361 remoting.ClientSession.Capability.SEND_INITIAL_RESOLUTION);
366 remoting.ClientSession.Capability.RATE_LIMIT_RESIZE_REQUESTS);
370 remoting.ClientSession.Capability.VIDEO_RECORDER);
376 remoting.ClientSession.Capability.CAST);
396 var state = remoting.ClientSession.State.fromString(
398 var error = remoting.ClientSession.ConnectionError.fromString(
Dhangout_session.js49 var State = remoting.ClientSession.State;
Doptions_menu.js73 this.clientSession_.getMode() == remoting.ClientSession.Mode.IT2ME;
Dremoting.js358 remoting.clientSession.getMode() == remoting.ClientSession.Mode.ME2ME) {
/external/chromium_org/remoting/host/
Dclient_session.cc38 ClientSession::ClientSession( in ClientSession() function in remoting::ClientSession
98 ClientSession::~ClientSession() { in ~ClientSession()
109 void ClientSession::NotifyClientResolution( in NotifyClientResolution()
136 void ClientSession::ControlVideo(const protocol::VideoControl& video_control) { in ControlVideo()
164 void ClientSession::ControlAudio(const protocol::AudioControl& audio_control) { in ControlAudio()
175 void ClientSession::SetCapabilities( in SetCapabilities()
201 void ClientSession::RequestPairing( in RequestPairing()
213 void ClientSession::DeliverClientMessage( in DeliverClientMessage()
240 void ClientSession::OnConnectionAuthenticating( in OnConnectionAuthenticating()
245 void ClientSession::OnConnectionAuthenticated( in OnConnectionAuthenticated()
[all …]
Dclient_session.h49 class ClientSession
59 virtual void OnSessionAuthenticating(ClientSession* client) = 0;
63 virtual bool OnSessionAuthenticated(ClientSession* client) = 0;
66 virtual void OnSessionChannelsConnected(ClientSession* client) = 0;
71 virtual void OnSessionAuthenticationFailed(ClientSession* client) = 0;
74 virtual void OnSessionClosed(ClientSession* client) = 0;
79 ClientSession* client,
89 ClientSession(
102 virtual ~ClientSession();
218 base::OneShotTimer<ClientSession> max_duration_timer_;
[all …]
Dchromoting_host.h66 public ClientSession::EventHandler,
123 virtual void OnSessionAuthenticating(ClientSession* client) OVERRIDE;
124 virtual bool OnSessionAuthenticated(ClientSession* client) OVERRIDE;
125 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE;
126 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE;
127 virtual void OnSessionClosed(ClientSession* session) OVERRIDE;
129 ClientSession* session,
164 typedef std::list<ClientSession*> ClientList;
Dchromoting_host.cc179 void ChromotingHost::OnSessionAuthenticating(ClientSession* client) { in OnSessionAuthenticating()
193 bool ChromotingHost::OnSessionAuthenticated(ClientSession* client) { in OnSessionAuthenticated()
203 ClientSession* other_client = *it++; in OnSessionAuthenticated()
224 void ChromotingHost::OnSessionChannelsConnected(ClientSession* client) { in OnSessionChannelsConnected()
232 void ChromotingHost::OnSessionAuthenticationFailed(ClientSession* client) { in OnSessionAuthenticationFailed()
240 void ChromotingHost::OnSessionClosed(ClientSession* client) { in OnSessionClosed()
256 ClientSession* session, in OnSessionRouteChange()
305 ClientSession* client = new ClientSession( in OnIncomingSession()
Dhost_mock_objects.h71 class MockClientSessionEventHandler : public ClientSession::EventHandler {
76 MOCK_METHOD1(OnSessionAuthenticating, void(ClientSession* client));
77 MOCK_METHOD1(OnSessionAuthenticated, bool(ClientSession* client));
78 MOCK_METHOD1(OnSessionChannelsConnected, void(ClientSession* client));
79 MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client));
80 MOCK_METHOD1(OnSessionClosed, void(ClientSession* client));
82 ClientSession* client,
Dchromoting_host_unittest.cc188 scoped_ptr<ClientSession> client(new ClientSession( in SimulateClientConnection()
207 base::Bind(&ClientSession::OnConnectionAuthenticated, in SimulateClientConnection()
212 base::Bind(&ClientSession::OnConnectionChannelsConnected, in SimulateClientConnection()
217 FROM_HERE, base::Bind(&ClientSession::OnConnectionClosed, in SimulateClientConnection()
421 ClientSession* client1_;
430 ClientSession* client2_;
453 ClientSession*& get_client(int connection_index) { in get_client()
458 std::list<ClientSession*>& get_clients_from_host() { in get_clients_from_host()
Ddesktop_session_proxy.h43 class ClientSession; variable
Dclient_session_unittest.cc182 scoped_ptr<ClientSession> client_session_;
249 client_session_.reset(new ClientSession( in CreateClientSession()
321 .WillOnce(Invoke(client_session_.get(), &ClientSession::SetCapabilities)); in SetMatchCapabilitiesExpectation()
/external/chromium_org/remoting/webapp/unittests/
Dit2me_helper_channel_unittest.js85 state:remoting.ClientSession.State.CONNECTING
89 state:remoting.ClientSession.State.CONNECTED
95 state:remoting.ClientSession.State.CONNECTING
100 state:remoting.ClientSession.State.CONNECTED
112 state: remoting.ClientSession.State.FAILED
123 state:remoting.ClientSession.State.CLOSED
131 state:remoting.ClientSession.State.CLOSED
141 state:remoting.ClientSession.State.FAILED
149 state:remoting.ClientSession.State.FAILED
171 state:remoting.ClientSession.State.CLOSED
Dit2me_service_unittest.js62 state: remoting.ClientSession.State.CONNECTED
68 state: remoting.ClientSession.State.CONNECTED
102 state: remoting.ClientSession.State.CONNECTED
108 state: remoting.ClientSession.State.CONNECTED
113 state: remoting.ClientSession.State.CLOSED
119 state: remoting.ClientSession.State.CLOSED
/external/chromium_org/remoting/webapp/browser_test/
Dmock_session_connector.js36 this.mode_ = remoting.ClientSession.Mode.ME2ME;
46 this.mode_ = remoting.ClientSession.Mode.ME2ME;
51 base.debug.assert(this.mode_ == remoting.ClientSession.Mode.ME2ME);
91 var clientSession = new remoting.ClientSession(
98 if (event.current == remoting.ClientSession.State.CONNECTED) {
104 remoting.ClientSession.Events.stateChanged,
Dbump_scroll_browser_test.js21 this.defineEvents(Object.keys(remoting.ClientSession.Events));
159 var STARTED = remoting.ClientSession.Events.bumpScrollStarted;
160 var STOPPED = remoting.ClientSession.Events.bumpScrollStopped;
225 var STARTED = remoting.ClientSession.Events.bumpScrollStarted;
226 var STOPPED = remoting.ClientSession.Events.bumpScrollStopped;
Dmock_client_plugin.js69 remoting.ClientSession.State.CONNECTED,
70 remoting.ClientSession.ConnectionError.NONE),
121 var result = new remoting.ClientSession.PerfStats;
/external/chromium_org/remoting/webapp/background/
Dit2me_helper_channel.js103 this.sessionState_ = remoting.ClientSession.State.CONNECTING;
186 this.sessionState_ = remoting.ClientSession.State.CLOSED;
248 var States = remoting.ClientSession.State;