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

Unified Diff: remoting/webapp/me2mom/remoting.js

Issue 8227028: Fix Javascript errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/me2mom/client_session.js ('k') | remoting/webapp/me2mom/viewer_plugin_proto.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/remoting.js
diff --git a/remoting/webapp/me2mom/remoting.js b/remoting/webapp/me2mom/remoting.js
index d40c841a34e608a6e8949b8c96c96439b75cb5c2..2c0d24cbaf6c2b58491f901e501b61e967c45b7d 100644
--- a/remoting/webapp/me2mom/remoting.js
+++ b/remoting/webapp/me2mom/remoting.js
@@ -485,16 +485,16 @@ function onClientStateChange_(oldState) {
} else if (state == remoting.ClientSession.State.CONNECTION_FAILED) {
remoting.debug.log('Client plugin reported connection failed');
if (remoting.session.error ==
- remoting.ClientSession.Error.HOST_IS_OFFLINE) {
+ remoting.ClientSession.ConnectionError.HOST_IS_OFFLINE) {
showConnectError_(remoting.ClientError.HOST_IS_OFFLINE);
} else if (remoting.session.error ==
- remoting.ClientSession.Error.SESSION_REJECTED) {
+ remoting.ClientSession.ConnectionError.SESSION_REJECTED) {
showConnectError_(remoting.ClientError.INVALID_ACCESS_CODE);
} else if (remoting.session.error ==
- remoting.ClientSession.Error.INCOMPATIBLE_PROTOCOL) {
+ remoting.ClientSession.ConnectionError.INCOMPATIBLE_PROTOCOL) {
showConnectError_(remoting.ClientError.INCOMPATIBLE_PROTOCOL);
} else if (remoting.session.error ==
- remoting.ClientSession.Error.NETWORK_FAILURE) {
+ remoting.ClientSession.ConnectionError.NETWORK_FAILURE) {
showConnectError_(remoting.ClientError.OTHER_ERROR);
} else {
showConnectError_(remoting.ClientError.OTHER_ERROR);
« no previous file with comments | « remoting/webapp/me2mom/client_session.js ('k') | remoting/webapp/me2mom/viewer_plugin_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698