aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-password-manager.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2007-11-05 07:35:28 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2007-11-05 07:35:28 +0800
commitcce4921f040c9756af1cbc573e1a7efcebe6a02a (patch)
tree04486e048111d8259f00253471e9b952d0850ee5 /embed/ephy-password-manager.c
parent42ccd4ec827aed6f2145c2a3bf5613d7c521fa77 (diff)
downloadgsoc2013-epiphany-cce4921f040c9756af1cbc573e1a7efcebe6a02a.tar
gsoc2013-epiphany-cce4921f040c9756af1cbc573e1a7efcebe6a02a.tar.gz
gsoc2013-epiphany-cce4921f040c9756af1cbc573e1a7efcebe6a02a.tar.bz2
gsoc2013-epiphany-cce4921f040c9756af1cbc573e1a7efcebe6a02a.tar.lz
gsoc2013-epiphany-cce4921f040c9756af1cbc573e1a7efcebe6a02a.tar.xz
gsoc2013-epiphany-cce4921f040c9756af1cbc573e1a7efcebe6a02a.tar.zst
gsoc2013-epiphany-cce4921f040c9756af1cbc573e1a7efcebe6a02a.zip
Add remove_all_passwords method to EphyPasswordManager and implement it
in Mozilla and XulRunner backends. Bug #476411. svn path=/trunk/; revision=7623
Diffstat (limited to 'embed/ephy-password-manager.c')
-rw-r--r--embed/ephy-password-manager.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/embed/ephy-password-manager.c b/embed/ephy-password-manager.c
index c4fb56143..6f1b49520 100644
--- a/embed/ephy-password-manager.c
+++ b/embed/ephy-password-manager.c
@@ -187,6 +187,19 @@ ephy_password_manager_remove_password (EphyPasswordManager *manager,
}
/**
+ * ephy_password_manager_remove_all_passwords:
+ * @manager: the #EphyPasswordManager
+ *
+ * Removes all the password entries from the password database.
+ **/
+void
+ephy_password_manager_remove_all_passwords (EphyPasswordManager *manager)
+{
+ EphyPasswordManagerIface *iface = EPHY_PASSWORD_MANAGER_GET_IFACE (manager);
+ iface->remove_all (manager);
+}
+
+/**
* ephy_password_manager_list_passwords:
* @manager: the #EphyPasswordManager
*