summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 03:04:04 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 03:04:04 +0000
commitf45148c5227905a5b3e2da72c38e9c57481b66f2 (patch)
tree19b31a72eaf2fb51fb5a51654f3f9a5979bccd11 /remoting
parentf520b5b5e0822d6ea04edcf064274ac515581806 (diff)
downloadchromium_src-f45148c5227905a5b3e2da72c38e9c57481b66f2.zip
chromium_src-f45148c5227905a5b3e2da72c38e9c57481b66f2.tar.gz
chromium_src-f45148c5227905a5b3e2da72c38e9c57481b66f2.tar.bz2
Correct errant references to remoting.ClientError to remoting.Error.
TEST=Remoting JavaScript should "compile" cleanly with jscompile. Review URL: http://codereview.chromium.org/8499001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/webapp/me2mom/client_screen.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/webapp/me2mom/client_screen.js b/remoting/webapp/me2mom/client_screen.js
index a8b16f8..b9fc839 100644
--- a/remoting/webapp/me2mom/client_screen.js
+++ b/remoting/webapp/me2mom/client_screen.js
@@ -397,7 +397,7 @@ remoting.refreshHostList = function() {
if (remoting.oauth2.needsNewAccessToken()) {
// Failed to get access token
remoting.debug.log('tryConnect: OAuth2 token fetch failed');
- showConnectError_(remoting.ClientError.OAUTH_FETCH_FAILED);
+ showConnectError_(remoting.Error.AUTHENTICATION_FAILED);
return;
}
remoting.refreshHostList();
@@ -461,7 +461,7 @@ function parseHostListResponse_(xhr) {
// If the error is unlikely to be recoverable then notify the user.
if (xhr.status >= 400 && xhr.status <= 499) {
// TODO(wez): We need to replace this with a more general showError_().
- showConnectError_(remoting.ClientError.OTHER_ERROR);
+ showConnectError_(remoting.Error.GENERIC);
}
}
} catch(er) {