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

Unified Diff: chrome/browser/resources/options2/password_manager.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/password_manager.js
diff --git a/chrome/browser/resources/options2/password_manager.js b/chrome/browser/resources/options2/password_manager.js
index b9aebc93768ee37b7db7872da95d02ec4ee4cff0..6ef64edfba6e7aec32eb70a63b7cc63fe274da8b 100644
--- a/chrome/browser/resources/options2/password_manager.js
+++ b/chrome/browser/resources/options2/password_manager.js
@@ -185,32 +185,30 @@ cr.define('options', function() {
};
/**
- * Call to remove a saved password.
- * @param rowIndex indicating the row to remove.
+ * Removes a saved password.
+ * @param {number} rowIndex indicating the row to remove.
*/
PasswordManager.removeSavedPassword = function(rowIndex) {
chrome.send('removeSavedPassword', [String(rowIndex)]);
};
/**
- * Call to remove a password exception.
- * @param rowIndex indicating the row to remove.
+ * Removes a password exception.
+ * @param {number} rowIndex indicating the row to remove.
*/
PasswordManager.removePasswordException = function(rowIndex) {
chrome.send('removePasswordException', [String(rowIndex)]);
};
/**
- * Call to remove all saved passwords.
- * @param tab contentType of the tab currently on.
+ * Removes all saved passwords.
*/
PasswordManager.removeAllPasswords = function() {
chrome.send('removeAllSavedPasswords');
};
/**
- * Call to remove all saved passwords.
- * @param tab contentType of the tab currently on.
+ * Removes all password exceptions.
*/
PasswordManager.removeAllPasswordExceptions = function() {
chrome.send('removeAllPasswordExceptions');
« no previous file with comments | « chrome/browser/resources/options2/options_page.js ('k') | chrome/browser/resources/options2/password_manager_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698