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

Side by Side Diff: remoting/webapp/crd/js/desktop_remoting.js

Issue 878573006: Fix Security Key proxying. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « remoting/webapp/crd/js/client_session.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * This class implements the functionality that is specific to desktop 7 * This class implements the functionality that is specific to desktop
8 * remoting ("Chromoting" or CRD). 8 * remoting ("Chromoting" or CRD).
9 */ 9 */
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 * @return {Array.<string>} A list of |ClientSession.Capability|s required 131 * @return {Array.<string>} A list of |ClientSession.Capability|s required
132 * by this application. 132 * by this application.
133 */ 133 */
134 remoting.DesktopRemoting.prototype.getRequiredCapabilities = function() { 134 remoting.DesktopRemoting.prototype.getRequiredCapabilities = function() {
135 return [ 135 return [
136 remoting.ClientSession.Capability.SEND_INITIAL_RESOLUTION, 136 remoting.ClientSession.Capability.SEND_INITIAL_RESOLUTION,
137 remoting.ClientSession.Capability.RATE_LIMIT_RESIZE_REQUESTS, 137 remoting.ClientSession.Capability.RATE_LIMIT_RESIZE_REQUESTS,
138 remoting.ClientSession.Capability.VIDEO_RECORDER, 138 remoting.ClientSession.Capability.VIDEO_RECORDER,
139 // TODO(aiguha): Add this capability based on a gyp/command-line flag, 139 // TODO(aiguha): Add this capability based on a gyp/command-line flag,
140 // rather than by default. 140 // rather than by default.
141 remoting.ClientSession.Capability.CAST, 141 remoting.ClientSession.Capability.CAST
142 remoting.ClientSession.Capability.GNUBBY_AUTH
143 ]; 142 ];
144 }; 143 };
145 144
146 /** 145 /**
147 * Called when a new session has been connected. 146 * Called when a new session has been connected.
148 * 147 *
149 * @param {remoting.ClientSession} clientSession 148 * @param {remoting.ClientSession} clientSession
150 * @return {void} Nothing. 149 * @return {void} Nothing.
151 */ 150 */
152 remoting.DesktopRemoting.prototype.handleConnected = function(clientSession) { 151 remoting.DesktopRemoting.prototype.handleConnected = function(clientSession) {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 if (mode == remoting.ClientSession.Mode.IT2ME) { 289 if (mode == remoting.ClientSession.Mode.IT2ME) {
291 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_IT2ME); 290 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_IT2ME);
292 remoting.hangoutSessionEvents.raiseEvent( 291 remoting.hangoutSessionEvents.raiseEvent(
293 remoting.hangoutSessionEvents.sessionStateChanged, 292 remoting.hangoutSessionEvents.sessionStateChanged,
294 remoting.ClientSession.State.FAILED 293 remoting.ClientSession.State.FAILED
295 ); 294 );
296 } else { 295 } else {
297 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_ME2ME); 296 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_ME2ME);
298 } 297 }
299 }; 298 };
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/client_session.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698