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

Unified Diff: chrome/browser/webdata/autofill_web_data_service_impl.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
Index: chrome/browser/webdata/autofill_web_data_service_impl.h
diff --git a/chrome/browser/webdata/autofill_web_data_service_impl.h b/chrome/browser/webdata/autofill_web_data_service_impl.h
index 2cbd3a93f4485b3496ca67093d6f0a494e63214c..4b6fca38469684377bf6fb7cd56c89fb7da55af7 100644
--- a/chrome/browser/webdata/autofill_web_data_service_impl.h
+++ b/chrome/browser/webdata/autofill_web_data_service_impl.h
@@ -33,6 +33,8 @@ class AutofillWebDataServiceImpl : public AutofillWebDataService {
const string16& prefix,
int limit,
WebDataServiceConsumer* consumer) OVERRIDE;
+ virtual void RemoveFormElementsAddedBetween(
+ const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
virtual void RemoveExpiredFormElements() OVERRIDE;
virtual void RemoveFormValueForElementName(const string16& name,
const string16& value) OVERRIDE;
@@ -44,8 +46,11 @@ class AutofillWebDataServiceImpl : public AutofillWebDataService {
virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE;
virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE;
virtual void RemoveCreditCard(const std::string& guid) OVERRIDE;
- virtual WebDataServiceBase::Handle
- GetCreditCards(WebDataServiceConsumer* consumer) OVERRIDE;
+ virtual WebDataServiceBase::Handle GetCreditCards(
+ WebDataServiceConsumer* consumer) OVERRIDE;
+ virtual void RemoveAutofillDataModifiedBetween(
+ const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
+
protected:
virtual ~AutofillWebDataServiceImpl();
@@ -75,6 +80,9 @@ class AutofillWebDataServiceImpl : public AutofillWebDataService {
WebDatabase::State RemoveCreditCardImpl(
const std::string& guid, WebDatabase* db);
scoped_ptr<WDTypedResult> GetCreditCardsImpl(WebDatabase* db);
+ WebDatabase::State RemoveAutofillDataModifiedBetweenImpl(
+ const base::Time& delete_begin, const base::Time& delete_end,
+ WebDatabase* db);
// Callbacks to ensure that sensitive info is destroyed if request is
// cancelled.
« no previous file with comments | « chrome/browser/webdata/autofill_table_unittest.cc ('k') | chrome/browser/webdata/autofill_web_data_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698