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

Unified Diff: remoting/webapp/crd/js/oauth2.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/oauth2.js
diff --git a/remoting/webapp/crd/js/oauth2.js b/remoting/webapp/crd/js/oauth2.js
index 1074ed22e2ba47a6d3f34f41e8ee5f36209ce53d..8ce080afb8fbb3add86485744c135a7d814ad531 100644
--- a/remoting/webapp/crd/js/oauth2.js
+++ b/remoting/webapp/crd/js/oauth2.js
@@ -318,7 +318,7 @@ remoting.OAuth2.prototype.doAuthRedirect = function(onDone) {
* @return {void} Nothing.
*/
remoting.OAuth2.prototype.exchangeCodeForToken = function(code, onDone) {
- /** @param {remoting.Error} error */
+ /** @param {!remoting.Error} error */
var onError = function(error) {
console.error('Unable to exchange code for token: ', error);
};

Powered by Google App Engine
This is Rietveld 408576698