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

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

Issue 927373005: [Chromoting] Enable jscompile for browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittests; More review comments 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
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 * Interface abstracting the SessionConnector functionality. 7 * Interface abstracting the SessionConnector functionality.
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
(...skipping 14 matching lines...) Expand all
25 25
26 /** 26 /**
27 * Initiate a Me2Me connection. 27 * Initiate a Me2Me connection.
28 * 28 *
29 * @param {remoting.Host} host The Me2Me host to which to connect. 29 * @param {remoting.Host} host The Me2Me host to which to connect.
30 * @param {function(boolean, function(string):void):void} fetchPin Function to 30 * @param {function(boolean, function(string):void):void} fetchPin Function to
31 * interactively obtain the PIN from the user. 31 * interactively obtain the PIN from the user.
32 * @param {function(string, string, string, 32 * @param {function(string, string, string,
33 * function(string, string): void): void} 33 * function(string, string): void): void}
34 * fetchThirdPartyToken Function to obtain a token from a third party 34 * fetchThirdPartyToken Function to obtain a token from a third party
35 * authenticaiton server. 35 * authentication server.
36 * @param {string} clientPairingId The client id issued by the host when 36 * @param {string} clientPairingId The client id issued by the host when
37 * this device was paired, if it is already paired. 37 * this device was paired, if it is already paired.
38 * @param {string} clientPairedSecret The shared secret issued by the host when 38 * @param {string} clientPairedSecret The shared secret issued by the host when
39 * this device was paired, if it is already paired. 39 * this device was paired, if it is already paired.
40 * @return {void} Nothing. 40 * @return {void} Nothing.
41 */ 41 */
42 remoting.SessionConnector.prototype.connectMe2Me = 42 remoting.SessionConnector.prototype.connectMe2Me =
43 function(host, fetchPin, fetchThirdPartyToken, 43 function(host, fetchPin, fetchThirdPartyToken,
44 clientPairingId, clientPairedSecret) {}; 44 clientPairingId, clientPairedSecret) {};
45 45
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // TODO(garykac): Can onExtensionMessage be removed from here? It's only 134 // TODO(garykac): Can onExtensionMessage be removed from here? It's only
135 // needed to pass to the ClientSession. Investigate why ClientSession 135 // needed to pass to the ClientSession. Investigate why ClientSession
136 // needs this. 136 // needs this.
137 function(clientContainer, onConnected, onError, onExtensionMessage, 137 function(clientContainer, onConnected, onError, onExtensionMessage,
138 onConnectionFailed, requiredCapabilities, defaultRemapKeys) {}; 138 onConnectionFailed, requiredCapabilities, defaultRemapKeys) {};
139 139
140 /** 140 /**
141 * @type {remoting.SessionConnectorFactory} 141 * @type {remoting.SessionConnectorFactory}
142 */ 142 */
143 remoting.SessionConnector.factory = null; 143 remoting.SessionConnector.factory = null;
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/desktop_connected_view.js ('k') | remoting/webapp/crd/js/session_connector_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698