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

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

Issue 2867223003: Send a message to the client if bad It2Me policies are read. (Closed)
Patch Set: Fix race. Created 3 years, 7 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
« no previous file with comments | « remoting/webapp/base/js/error.js ('k') | remoting/webapp/crd/js/host_session.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/host_screen.js
diff --git a/remoting/webapp/crd/js/host_screen.js b/remoting/webapp/crd/js/host_screen.js
index 3cfaa267e117a453a7dc2d38edc58e9efb310ad5..ea1450678c46e13af3507e9363a63b2eedf1526b 100644
--- a/remoting/webapp/crd/js/host_screen.js
+++ b/remoting/webapp/crd/js/host_screen.js
@@ -125,7 +125,7 @@ remoting.tryShareWithToken_ = function(hostFacade, token) {
function(/** string */ email) {
hostSession_.connect(
hostFacade, email, token, onHostStateChanged_,
- onNatTraversalPolicyChanged_, logDebugInfo_, it2meConnectFailed_);
+ onNatTraversalPolicyChanged_, logDebugInfo_, showShareError_);
});
};
@@ -247,15 +247,6 @@ function showShareError_(error) {
cleanUp();
}
-/**
- * Show a sharing error with error code UNEXPECTED .
- *
- * @return {void} Nothing.
- */
-function it2meConnectFailed_() {
- showShareError_(remoting.Error.unexpected());
-}
-
function cleanUp() {
base.dispose(hostSession_);
hostSession_ = null;
« no previous file with comments | « remoting/webapp/base/js/error.js ('k') | remoting/webapp/crd/js/host_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698