aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-profile-migration.h
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-12-15 23:17:54 +0800
committerGustavo Noronha Silva <gns@gnome.org>2009-12-15 23:24:26 +0800
commit9d419181e0630431de079b777f1e537452fc69e4 (patch)
tree37b8dc477222282e151275a3829e864818dbb598 /lib/ephy-profile-migration.h
parentefb097c929407bb264b90d31feadac34c31a85e7 (diff)
downloadgsoc2013-epiphany-9d419181e0630431de079b777f1e537452fc69e4.tar
gsoc2013-epiphany-9d419181e0630431de079b777f1e537452fc69e4.tar.gz
gsoc2013-epiphany-9d419181e0630431de079b777f1e537452fc69e4.tar.bz2
gsoc2013-epiphany-9d419181e0630431de079b777f1e537452fc69e4.tar.lz
gsoc2013-epiphany-9d419181e0630431de079b777f1e537452fc69e4.tar.xz
gsoc2013-epiphany-9d419181e0630431de079b777f1e537452fc69e4.tar.zst
gsoc2013-epiphany-9d419181e0630431de079b777f1e537452fc69e4.zip
Add a new utility function to query the keyring for the form password
This is used to make all policy regarding what and how we save data be in one place.
Diffstat (limited to 'lib/ephy-profile-migration.h')
-rw-r--r--lib/ephy-profile-migration.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/ephy-profile-migration.h b/lib/ephy-profile-migration.h
index 7fe4945c7..33d14bf81 100644
--- a/lib/ephy-profile-migration.h
+++ b/lib/ephy-profile-migration.h
@@ -20,6 +20,9 @@
#ifndef EPHY_PROFILE_MIGRATION_H
#define EPHY_PROFILE_MIGRATION_H
+#include <glib.h>
+#include <gnome-keyring.h>
+
#define FORM_USERNAME_KEY "form_username"
#define FORM_PASSWORD_KEY "form_password"
@@ -31,4 +34,12 @@ void _ephy_profile_store_form_auth_data (const char *uri,
const char *username,
const char *password);
+GList*
+_ephy_profile_query_form_auth_data (const char *uri,
+ const char *form_username,
+ const char *form_password,
+ GnomeKeyringOperationGetListCallback callback,
+ gpointer data,
+ GDestroyNotify destroy_data);
+
#endif