summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata/web_database.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 22:49:47 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 22:49:47 +0000
commit51bd36619bfaa05e98b3a6f58d48aaca6a66e307 (patch)
tree93b978a5ac16359aee752c8d41413e24410fc51d /chrome/browser/webdata/web_database.h
parent655aa8d8075c12a8846bedfb080ab71f4231aaa0 (diff)
downloadchromium_src-51bd36619bfaa05e98b3a6f58d48aaca6a66e307.zip
chromium_src-51bd36619bfaa05e98b3a6f58d48aaca6a66e307.tar.gz
chromium_src-51bd36619bfaa05e98b3a6f58d48aaca6a66e307.tar.bz2
Rename AutoFillForm to FormFieldValues to better reflect the purpose of the data structure.
BUG=none TEST=none Review URL: http://codereview.chromium.org/306014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata/web_database.h')
-rw-r--r--chrome/browser/webdata/web_database.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/webdata/web_database.h b/chrome/browser/webdata/web_database.h
index 1326c18..cc73e9b 100644
--- a/chrome/browser/webdata/web_database.h
+++ b/chrome/browser/webdata/web_database.h
@@ -14,7 +14,7 @@
#include "chrome/browser/search_engines/template_url.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
-#include "webkit/glue/autofill_form.h"
+#include "webkit/glue/form_field_values.h"
class FilePath;
@@ -132,12 +132,12 @@ class WebDatabase {
// Records the form elements in |elements| in the database in the autofill
// table.
- bool AddAutofillFormElements(
- const std::vector<webkit_glue::AutofillForm::Element>& elements);
+ bool AddFormFieldValues(
+ const std::vector<webkit_glue::FormFieldValues::Element>& elements);
// Records a single form element in in the database in the autofill table.
- bool AddAutofillFormElement(
- const webkit_glue::AutofillForm::Element& element);
+ bool AddFormFieldValue(
+ const webkit_glue::FormFieldValues::Element& element);
// Retrieves a vector of all values which have been recorded in the autofill
// table as the value in a form element with name |name| and which start with
@@ -168,7 +168,7 @@ class WebDatabase {
// Gets the pair_id and count entries from name and value specified in
// |element|. Sets *count to 0 if there is no such row in the table.
bool GetIDAndCountOfFormElement(
- const webkit_glue::AutofillForm::Element& element,
+ const webkit_glue::FormFieldValues::Element& element,
int64* pair_id,
int* count);
@@ -181,7 +181,7 @@ class WebDatabase {
// Adds a new row to the autofill table with name and value given in
// |element|. Sets *pair_id to the pair_id of the new row.
bool InsertFormElement(
- const webkit_glue::AutofillForm::Element& element,
+ const webkit_glue::FormFieldValues::Element& element,
int64* pair_id);
// Adds a new row to the autofill_dates table.