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

Unified Diff: remoting/webapp/crd/js/identity.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: Smaller diff. 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/identity.js
diff --git a/remoting/webapp/crd/js/identity.js b/remoting/webapp/crd/js/identity.js
index 28258168aad4a887bdd3ed35123cd7d54c4ac2b2..86d6eb9d608ea68ea69f917990a1f232aecf1d53 100644
--- a/remoting/webapp/crd/js/identity.js
+++ b/remoting/webapp/crd/js/identity.js
@@ -213,7 +213,8 @@ remoting.Identity.prototype.onAuthComplete_ = function(interactive, token) {
chrome.runtime.lastError ? chrome.runtime.lastError.message
: 'Unknown error.';
console.error(error_message);
- authTokenDeferred.reject(remoting.Error.NOT_AUTHENTICATED);
+ authTokenDeferred.reject(
+ remoting.Error.NOT_AUTHENTICATED);
Jamie 2015/02/26 18:57:42 No need for a new line here.
John Williams 2015/02/27 21:42:11 Oops, relic of a previous version of the CL.
return;
}

Powered by Google App Engine
This is Rietveld 408576698