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

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

Issue 955283002: Converted remoting.Error from an enum to a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Requested changes. Created 5 years, 10 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
Index: remoting/webapp/crd/js/client_screen.js
diff --git a/remoting/webapp/crd/js/client_screen.js b/remoting/webapp/crd/js/client_screen.js
index 1700c705177609e867d6c0f9ca5d673dd66512c8..bfcc68b76d993c239859ea262cd621fa619162e9 100644
--- a/remoting/webapp/crd/js/client_screen.js
+++ b/remoting/webapp/crd/js/client_screen.js
@@ -95,7 +95,8 @@ function onClientStateChange_(state) {
console.error('Unexpected client plugin state: ' + state.current);
// This should only happen if the web-app and client plugin get out of
// sync, so MISSING_PLUGIN is a suitable error.
- remoting.app.onError(remoting.Error.MISSING_PLUGIN);
+ remoting.app.onError(
+ remoting.Error.MISSING_PLUGIN);
Jamie 2015/03/02 18:28:09 No need for a new line here.
John Williams 2015/03/02 22:01:36 Done.
break;
}

Powered by Google App Engine
This is Rietveld 408576698