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

Unified Diff: remoting/webapp/browser_test/mock_client_plugin.js

Issue 954373002: [Webapp Refactor] Group authentications fields into remoting.CredentialsProvider. (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 side-by-side diff with in-line comments
Download patch
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}

Powered by Google App Engine
This is Rietveld 408576698