Chromium Code Reviews| Index: remoting/webapp/crd/js/session_connector.js |
| diff --git a/remoting/webapp/crd/js/session_connector.js b/remoting/webapp/crd/js/session_connector.js |
| index dfdcda6eb1eac0cf40003cb5f268a921b43610e9..58d9cbad684fb22aa72c8b8d7b8b5a04b3b4db55 100644 |
| --- a/remoting/webapp/crd/js/session_connector.js |
| +++ b/remoting/webapp/crd/js/session_connector.js |
| @@ -95,16 +95,11 @@ remoting.SessionConnectorFactory = function() {}; |
| /** |
| * @param {HTMLElement} clientContainer Container element for the client view. |
| - * @param {function(remoting.ClientSession):void} onConnected Callback on |
| - * success. |
| - * @param {function(remoting.Error):void} onError Callback on error. |
| - * @param {function(string, string):boolean} onExtensionMessage The handler for |
| - * protocol extension messages. Returns true if a message is recognized; |
| - * false otherwise. |
| + * @param {remoting.Application} app The main application. |
| * @return {remoting.SessionConnector} |
| */ |
| remoting.SessionConnectorFactory.prototype.createConnector = |
| - function(clientContainer, onConnected, onError, onExtensionMessage) {}; |
| + function(clientContainer, app) {}; |
|
Jamie
2014/12/06 00:09:24
I preferred the previous implementation where onCo
garykac
2014/12/06 01:39:33
Done.
|
| /** |
| * @type {remoting.SessionConnectorFactory} |