aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2013-03-09 20:57:09 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2013-03-12 17:01:34 +0800
commit2499031072e275e68ad8dc1cb9bd0a53397a5e5a (patch)
treeb94479df9e1470d6855a7bbb4e5b2e0b37fcfa19 /embed/ephy-web-view.c
parent78b70aa84bb94f5097d40ffbb461aefcbbaeb979 (diff)
downloadgsoc2013-epiphany-2499031072e275e68ad8dc1cb9bd0a53397a5e5a.tar
gsoc2013-epiphany-2499031072e275e68ad8dc1cb9bd0a53397a5e5a.tar.gz
gsoc2013-epiphany-2499031072e275e68ad8dc1cb9bd0a53397a5e5a.tar.bz2
gsoc2013-epiphany-2499031072e275e68ad8dc1cb9bd0a53397a5e5a.tar.lz
gsoc2013-epiphany-2499031072e275e68ad8dc1cb9bd0a53397a5e5a.tar.xz
gsoc2013-epiphany-2499031072e275e68ad8dc1cb9bd0a53397a5e5a.tar.zst
gsoc2013-epiphany-2499031072e275e68ad8dc1cb9bd0a53397a5e5a.zip
lib: Move auth data query/store methods from ephy-profile-utils to a new file
Move to ephy-form-auth-data and renamed accordingly.
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index c5dc5a909..d86233330 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -36,10 +36,10 @@
#include "ephy-favicon-helpers.h"
#include "ephy-file-helpers.h"
#include "ephy-file-monitor.h"
+#include "ephy-form-auth-data.h"
#include "ephy-history-service.h"
#include "ephy-overview.h"
#include "ephy-prefs.h"
-#include "ephy-profile-utils.h"
#include "ephy-settings.h"
#include "ephy-string.h"
#include "ephy-web-app-utils.h"
@@ -594,12 +594,12 @@ store_password (GtkInfoBar *info_bar, gint response_id, gpointer data)
}
LOG ("Response is GTK_RESPONSE_YES - saving!");
- _ephy_profile_utils_store_form_auth_data (uri,
- name_field_name,
- password_field_name,
- name_field_value,
- password_field_value,
- NULL, NULL);
+ ephy_form_auth_data_store (uri,
+ name_field_name,
+ password_field_name,
+ name_field_value,
+ password_field_value,
+ NULL, NULL);
/* Update internal caching */
host = ephy_string_get_host_name (uri);
@@ -730,12 +730,12 @@ form_submitted_cb (WebKitDOMHTMLFormElement *dom_form,
store_data->name_value,
store_data->password_value);
- _ephy_profile_utils_query_form_auth_data (store_data->uri,
- store_data->name_field,
- store_data->password_field,
- (EphyQueryFormDataCallback)should_store_cb,
- store_data,
- NULL);
+ ephy_form_auth_data_query (store_data->uri,
+ store_data->name_field,
+ store_data->password_field,
+ should_store_cb,
+ store_data,
+ NULL);
soup_uri_free (uri);
@@ -777,12 +777,12 @@ pre_fill_form (WebKitDOMNode *username_node,
fill_data->username_node = g_object_ref (username_node);
fill_data->password_node = g_object_ref (password_node);
- _ephy_profile_utils_query_form_auth_data (uri_str,
- data->form_username,
- data->form_password,
- (EphyQueryFormDataCallback)fill_form_cb,
- fill_data,
- fill_data_free);
+ ephy_form_auth_data_query (uri_str,
+ data->form_username,
+ data->form_password,
+ fill_form_cb,
+ fill_data,
+ fill_data_free);
g_free (uri_str);
}
g_free (username_field_name);