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

Unified Diff: chrome/browser/resources/options2/browser_options_profile_list.js

Issue 9316086: Fix JavaScript errors in options2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new violations found after rebase Created 8 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: chrome/browser/resources/options2/browser_options_profile_list.js
diff --git a/chrome/browser/resources/options2/browser_options_profile_list.js b/chrome/browser/resources/options2/browser_options_profile_list.js
index 7718d4a276f60c82f00b416f3e0b703e68be9a5b..6192ac381932101d19cec318da19547f231b1016 100644
--- a/chrome/browser/resources/options2/browser_options_profile_list.js
+++ b/chrome/browser/resources/options2/browser_options_profile_list.js
@@ -35,9 +35,8 @@ cr.define('options.browser_options', function() {
__proto__: DeletableItem.prototype,
/**
- * Get the filepath for this profile list item.
- * @return the file path of this item.
- */
+ * @type {string} the file path of this profile list item.
+ */
get profilePath() {
return this.profileInfo_.filePath;
},
@@ -62,7 +61,7 @@ cr.define('options.browser_options', function() {
if (profileInfo.isCurrentProfile)
displayName = localStrings.getStringF(
'profilesListItemCurrent',
- profileInfo.name)
+ profileInfo.name);
nameEl.textContent = displayName;
},
};

Powered by Google App Engine
This is Rietveld 408576698