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

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: Created 8 years, 11 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 b69dc8db03ddd74273fa08765892be1ef6a22bd9..9b9267505f02f975683f5f3e9a7b6b8918a8f1cd 100644
--- a/chrome/browser/resources/options2/password_manager.js
+++ b/chrome/browser/resources/options2/password_manager.js
@@ -181,32 +181,30 @@ cr.define('options', function() {
};
/**
- * Call to remove a saved password.
- * @param rowIndex indicating the row to remove.
+ * Remove a saved password.
James Hawkins 2012/02/03 01:28:24 Removes
Tyler Breisacher (Chromium) 2012/02/03 01:40:01 Done.
+ * @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');

Powered by Google App Engine
This is Rietveld 408576698