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

Unified Diff: chrome/browser/webdata/web_data_service.h

Issue 6676031: Autofill database migration to clean up bogus profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to Lingesh's observer mechanism. Created 9 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/web_data_service.h
diff --git a/chrome/browser/webdata/web_data_service.h b/chrome/browser/webdata/web_data_service.h
index 8883667c20a93fb572c5eaa0d21875173bd0ebfd..65913002f482a5179964f76e82c68a3ceff65d78 100644
--- a/chrome/browser/webdata/web_data_service.h
+++ b/chrome/browser/webdata/web_data_service.h
@@ -454,6 +454,10 @@ class WebDataService
// consumer owns the profiles.
Handle GetAutofillProfiles(WebDataServiceConsumer* consumer);
+ // Remove "trashed" profile guids from the web database and optionally send
+ // notifications to tell Sync that the items have been removed.
+ void EmptyMigrationTrash(bool notify_sync);
+
// Schedules a task to add credit card to the web database.
void AddCreditCard(const CreditCard& credit_card);
@@ -603,6 +607,7 @@ class WebDataService
void UpdateAutofillProfileImpl(GenericRequest<AutofillProfile>* request);
void RemoveAutofillProfileImpl(GenericRequest<std::string>* request);
void GetAutofillProfilesImpl(WebDataRequest* request);
+ void EmptyMigrationTrashImpl(GenericRequest<bool>* request);
void AddCreditCardImpl(GenericRequest<CreditCard>* request);
void UpdateCreditCardImpl(GenericRequest<CreditCard>* request);
void RemoveCreditCardImpl(GenericRequest<std::string>* request);

Powered by Google App Engine
This is Rietveld 408576698