aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-12-15 18:29:46 +0800
committerXan Lopez <xan@gnome.org>2009-12-15 18:29:46 +0800
commitc7b6cac1e8d49f1b5d3fd3921cc518f8210b77b6 (patch)
tree98f12bc4696c3dc7ef35e9cb5968ec6b0de184b8 /lib
parent80058bfa86b8997a0d9d2ebf380d4c3b49b0edc6 (diff)
downloadgsoc2013-epiphany-c7b6cac1e8d49f1b5d3fd3921cc518f8210b77b6.tar.gz
gsoc2013-epiphany-c7b6cac1e8d49f1b5d3fd3921cc518f8210b77b6.tar.zst
gsoc2013-epiphany-c7b6cac1e8d49f1b5d3fd3921cc518f8210b77b6.zip
ephy-embed-single: cache form auth data
Otherwise we need to query keyring all the time to figure out if we have to prefill forms.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-profile-migration.c3
-rw-r--r--lib/ephy-profile-migration.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/ephy-profile-migration.c b/lib/ephy-profile-migration.c
index 335927d3d..ee57aed89 100644
--- a/lib/ephy-profile-migration.c
+++ b/lib/ephy-profile-migration.c
@@ -425,9 +425,6 @@ store_form_password_cb (GnomeKeyringResult result,
/* FIXME: should we do anything if the operation failed? */
}
-#define FORM_USERNAME_KEY "form_username"
-#define FORM_PASSWORD_KEY "form_password"
-
void
_ephy_profile_store_form_auth_data (const char *uri,
const char *form_username,
diff --git a/lib/ephy-profile-migration.h b/lib/ephy-profile-migration.h
index d48849bab..7fe4945c7 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
+#define FORM_USERNAME_KEY "form_username"
+#define FORM_PASSWORD_KEY "form_password"
+
void _ephy_profile_migrate (void);
void _ephy_profile_store_form_auth_data (const char *uri,