Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: chrome/browser/api/webdata/autofill_web_data.h

Issue 12987023: Rip autofill code out of webdataservice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change method name in AutofillTable Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/api/webdata/autofill_web_data.h
diff --git a/chrome/browser/api/webdata/autofill_web_data.h b/chrome/browser/api/webdata/autofill_web_data.h
index e7d2bca2eeaf7ef9371e6fd82ff4b70d9c18d1da..7cecfbe2089eeb00611f51c6800ac95672da37a7 100644
--- a/chrome/browser/api/webdata/autofill_web_data.h
+++ b/chrome/browser/api/webdata/autofill_web_data.h
@@ -38,6 +38,10 @@ class AutofillWebData {
int limit,
WebDataServiceConsumer* consumer) = 0;
+ // Removes form elements recorded for Autocomplete from the database.
+ virtual void RemoveFormElementsAddedBetween(
+ const base::Time& delete_begin, const base::Time& delete_end) = 0;
+
virtual void RemoveExpiredFormElements() = 0;
virtual void RemoveFormValueForElementName(const string16& name,
const string16& value) = 0;
@@ -73,8 +77,12 @@ class AutofillWebData {
// OnWebDataServiceRequestDone of |consumer| gets called when the request is
// finished, with the credit cards included in the argument |result|. The
// consumer owns the credit cards.
- virtual WebDataServiceBase::Handle
- GetCreditCards(WebDataServiceConsumer* consumer) = 0;
+ virtual WebDataServiceBase::Handle GetCreditCards(
+ WebDataServiceConsumer* consumer) = 0;
+
+ // Removes Autofill records from the database.
+ virtual void RemoveAutofillDataModifiedBetween(
+ const base::Time& delete_begin, const base::Time& delete_end) = 0;
};
#endif // CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_H_
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698