Index: remoting/webapp/browser_test/mock_client_plugin.js |
diff --git a/remoting/webapp/browser_test/mock_client_plugin.js b/remoting/webapp/browser_test/mock_client_plugin.js |
index 09858e0a179fa932916d3dadf39278a710e2c480..07e5868efa7b7cdd2fffa70a98057576305dad83 100644 |
--- a/remoting/webapp/browser_test/mock_client_plugin.js |
+++ b/remoting/webapp/browser_test/mock_client_plugin.js |
@@ -46,10 +46,9 @@ remoting.MockClientPlugin.prototype.initialize = function(onDone) { |
window.setTimeout(onDone.bind(null, true), 0); |
}; |
-remoting.MockClientPlugin.prototype.connect = function( |
- hostJid, hostPublicKey, localJid, sharedSecret, |
- authenticationMethods, authenticationTag, |
- clientPairingId, clientPairedSecret) { |
+ |
+remoting.MockClientPlugin.prototype.connect = |
+ function(host, localJid, credentials) { |
Jamie
2015/02/26 23:20:14
credentialsProvider would be more consistent namin
kelvinp
2015/02/27 01:03:20
Done.
|
base.debug.assert(this.connectionStatusUpdateHandler_ != null); |
window.setTimeout( |
this.connectionStatusUpdateHandler_.bind( |
@@ -79,16 +78,9 @@ remoting.MockClientPlugin.prototype.hasFeature = function(feature) { |
remoting.MockClientPlugin.prototype.sendClipboardItem = |
function(mimeType, item) {}; |
-remoting.MockClientPlugin.prototype.useAsyncPinDialog = function() {}; |
- |
remoting.MockClientPlugin.prototype.requestPairing = |
function(clientName, onDone) {}; |
-remoting.MockClientPlugin.prototype.onPinFetched = function(pin) {}; |
- |
-remoting.MockClientPlugin.prototype.onThirdPartyTokenFetched = |
- function(token, sharedSecret) {}; |
- |
remoting.MockClientPlugin.prototype.pauseAudio = function(pause) {}; |
remoting.MockClientPlugin.prototype.pauseVideo = function(pause) {}; |
@@ -142,12 +134,6 @@ remoting.MockClientPlugin.prototype.setCastExtensionHandler = |
remoting.MockClientPlugin.prototype.setMouseCursorHandler = |
function(handler) {}; |
-remoting.MockClientPlugin.prototype.setFetchThirdPartyTokenHandler = |
- function(handler) {}; |
- |
-remoting.MockClientPlugin.prototype.setFetchPinHandler = |
- function(handler) {}; |
- |
/** |
* @constructor |
* @implements {remoting.HostDesktop} |