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

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

Issue 954373002: [Webapp Refactor] Group authentications fields into remoting.CredentialsProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove supports() 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..f17e9354f6a717d997489b25c769dbad709f9701 100644
--- a/remoting/webapp/crd/js/identity.js
+++ b/remoting/webapp/crd/js/identity.js
@@ -157,7 +157,7 @@ remoting.Identity.prototype.getUserInfo = function() {
* address or rejected with a remoting.Error.
*/
remoting.Identity.prototype.getEmail = function() {
- this.getUserInfo().then(function(userInfo) {
+ return this.getUserInfo().then(function(userInfo) {
return userInfo.email;
});
};

Powered by Google App Engine
This is Rietveld 408576698