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

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

Issue 1020743002: [Chromoting] Move app-specific code out of remoting.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/crd/js/host_setup_dialog.js
diff --git a/remoting/webapp/crd/js/host_setup_dialog.js b/remoting/webapp/crd/js/host_setup_dialog.js
index 9065b53c4e1ab665722f27d723af6aaf6896c229..547f765000f00969dcdba8ba2dd3ccabfd90341e 100644
--- a/remoting/webapp/crd/js/host_setup_dialog.js
+++ b/remoting/webapp/crd/js/host_setup_dialog.js
@@ -165,7 +165,7 @@ remoting.HostSetupDialog.prototype.showForStart = function() {
// case where the refresh token is invalid.
remoting.identity.getToken().then(
that.showForStartWithToken_.bind(that, state),
- remoting.Error.handler(remoting.showErrorMessage));
+ remoting.Error.handler(remoting.app.onAuthError.bind(remoting.app)));
};
this.hostController_.getLocalHostState(onState);

Powered by Google App Engine
This is Rietveld 408576698