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

Unified Diff: remoting/webapp/base/js/error.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/client_session.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/error.js
diff --git a/remoting/webapp/base/js/error.js b/remoting/webapp/base/js/error.js
index 1be5c879430a67089244b510b13e1b8f83a010d9..2c473e08017e9eb471ac36f6e227d747854f309d 100644
--- a/remoting/webapp/base/js/error.js
+++ b/remoting/webapp/base/js/error.js
@@ -48,6 +48,8 @@ remoting.Error.prototype.toConnectionError = function() {
return ConnectionError.CLIENT_SUSPENDED;
case Tag.INVALID_ACCESS_CODE:
return ConnectionError.INVALID_ACCESS_CODE;
+ case Tag.INVALID_ACCOUNT:
+ return ConnectionError.INVALID_ACCOUNT;
case Tag.MISSING_PLUGIN:
return ConnectionError.MISSING_PLUGIN;
case Tag.AUTHENTICATION_FAILED:
@@ -169,6 +171,7 @@ remoting.Error.Tag = {
CLIENT_SUSPENDED: /*i18n-content*/ 'ERROR_NETWORK_FAILURE',
INVALID_ACCESS_CODE: /*i18n-content*/ 'ERROR_INVALID_ACCESS_CODE',
+ INVALID_ACCOUNT: /*i18n-content*/ 'ERROR_INVALID_ACCOUNT',
MISSING_PLUGIN: /*i18n-content*/ 'ERROR_MISSING_PLUGIN',
NACL_PLUGIN_CRASHED: /*i18n-content*/ 'ERROR_NACL_PLUGIN_CRASHED',
AUTHENTICATION_FAILED: /*i18n-content*/ 'ERROR_AUTHENTICATION_FAILED',
« no previous file with comments | « remoting/webapp/base/js/client_session.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698