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

Unified Diff: remoting/webapp/crd/js/session_connector.js

Issue 779613003: [Chromoting] Create core Application interface for CRD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move setupConnection into Application Created 6 years 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 side-by-side diff with in-line comments
Download patch
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}

Powered by Google App Engine
This is Rietveld 408576698