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

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

Issue 963103004: Remove getCached* methods from remoting.Identity. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and jscompile fixes. 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
« no previous file with comments | « remoting/webapp/crd/js/host_screen.js ('k') | remoting/webapp/crd/js/oauth2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/identity.js
diff --git a/remoting/webapp/crd/js/identity.js b/remoting/webapp/crd/js/identity.js
index b2f2c5a3df3228195bb6893058ec34bdc16a2e33..dfa7f987ab2dd87926935d67d8a9b5323768bd2d 100644
--- a/remoting/webapp/crd/js/identity.js
+++ b/remoting/webapp/crd/js/identity.js
@@ -13,9 +13,6 @@
var remoting = remoting || {};
/**
- * TODO(jamiewalch): Remove remoting.OAuth2 from this type annotation when
- * the Apps v2 work is complete.
- *
* @type {remoting.Identity}
*/
remoting.identity = null;
@@ -163,29 +160,6 @@ remoting.Identity.prototype.getEmail = function() {
};
/**
- * Gets the user's email address, or null if no successful call to
- * getUserInfo has been made.
- *
- * @return {?string} The cached email address, if available.
- */
-remoting.Identity.prototype.getCachedEmail = function() {
- return this.email_;
-};
-
-/**
- * Gets the user's full name.
- *
- * This will return null if either:
- * No successful call to getUserInfo has been made, or
- * The webapp doesn't have permission to access this value.
- *
- * @return {?string} The cached user's full name, if available.
- */
-remoting.Identity.prototype.getCachedUserFullName = function() {
- return this.fullName_;
-};
-
-/**
* Callback for the getAuthToken API.
*
* @param {boolean} interactive The value of the "interactive" parameter to
« no previous file with comments | « remoting/webapp/crd/js/host_screen.js ('k') | remoting/webapp/crd/js/oauth2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698