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

Unified Diff: remoting/webapp/base/js/client_session.js

Issue 1987163002: Add DOMAIN_MISMATCH message end to end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO in Jingle session Created 4 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/chromoting_event.js ('k') | remoting/webapp/base/js/error.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/client_session.js
diff --git a/remoting/webapp/base/js/client_session.js b/remoting/webapp/base/js/client_session.js
index eda42d7891f85299f911988dd9d3cb5ee8bf005b..b61e6a03afd53e52397224f71648d26d08e972d0 100644
--- a/remoting/webapp/base/js/client_session.js
+++ b/remoting/webapp/base/js/client_session.js
@@ -182,7 +182,8 @@ remoting.ClientSession.ConnectionError = {
HOST_OVERLOAD: 5,
MAX_SESSION_LENGTH: 6,
HOST_CONFIGURATION_ERROR: 7,
- NACL_PLUGIN_CRASHED: 8
+ NACL_PLUGIN_CRASHED: 8,
+ INVALID_ACCOUNT: 9
};
/**
@@ -488,6 +489,9 @@ remoting.ClientSession.prototype.onConnectionStatusUpdate =
case remoting.ClientSession.ConnectionError.NACL_PLUGIN_CRASHED:
errorTag = remoting.Error.Tag.NACL_PLUGIN_CRASHED;
break;
+ case remoting.ClientSession.ConnectionError.INVALID_ACCOUNT:
+ errorTag = remoting.Error.Tag.INVALID_ACCOUNT;
+ break;
default:
this.error_ = remoting.Error.unexpected();
}
« no previous file with comments | « remoting/webapp/base/js/chromoting_event.js ('k') | remoting/webapp/base/js/error.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698