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

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

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/apps_v2_migration.js
diff --git a/remoting/webapp/crd/js/apps_v2_migration.js b/remoting/webapp/crd/js/apps_v2_migration.js
index 61c174ed8f11e0a86e6710715c8273f31731a6b9..30a9b93a81b1cc1409073539242f2ceef768d4e6 100644
--- a/remoting/webapp/crd/js/apps_v2_migration.js
+++ b/remoting/webapp/crd/js/apps_v2_migration.js
@@ -22,9 +22,9 @@ var remoting = remoting || {};
var MIGRATION_KEY_ = 'remoting-v2-migration';
/**
- * @constructor
* @param {string} email
* @param {string} fullName
+ * @constructor
*/
remoting.MigrationSettings = function(email, fullName) {
this.email = email;
@@ -89,16 +89,17 @@ remoting.AppsV2Migration.saveUserInfo = function() {
if (base.isAppsV2()) {
chrome.storage.local.remove(MIGRATION_KEY_);
} else {
- /**
- * @param {string} email
- * @param {string} fullName
- */
- remoting.identity.getUserInfo(function(email, fullName) {
- var preference = {};
- preference[MIGRATION_KEY_] =
- new remoting.MigrationSettings(email, fullName);
- chrome.storage.local.set(preference);
- }, base.doNothing);
+ remoting.identity.getUserInfo(
+ /**
+ * @param {string} email
+ * @param {string} fullName
+ */
+ function(email, fullName) {
+ var preference = {};
+ preference[MIGRATION_KEY_] =
+ new remoting.MigrationSettings(email, fullName);
+ chrome.storage.local.set(preference);
+ }, base.doNothing);
}
};

Powered by Google App Engine
This is Rietveld 408576698