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

Unified Diff: components/autofill/browser/webdata/autofill_webdata_backend_impl.h

Issue 14081043: Hook up Autofill Backend interface to SyncableServices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 years, 7 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: components/autofill/browser/webdata/autofill_webdata_backend_impl.h
diff --git a/components/autofill/browser/webdata/autofill_webdata_backend_impl.h b/components/autofill/browser/webdata/autofill_webdata_backend_impl.h
index c8d3823a4e9d5b69a0e7454504c764332ef2dc12..76ae37f68051d3e5479766c108ba12e61d63159a 100644
--- a/components/autofill/browser/webdata/autofill_webdata_backend_impl.h
+++ b/components/autofill/browser/webdata/autofill_webdata_backend_impl.h
@@ -49,7 +49,7 @@ class AutofillWebDataBackendImpl
virtual void RemoveObserver(
AutofillWebDataServiceObserverOnDBThread* observer) OVERRIDE;
virtual WebDatabase* GetDatabase() OVERRIDE;
- virtual void RemoveExpiredFormElementsWrapper() OVERRIDE;
+ virtual void RemoveExpiredFormElements() OVERRIDE;
virtual void NotifyOfMultipleAutofillChanges() OVERRIDE;
// Adds form fields to the web database.
@@ -73,8 +73,6 @@ class AutofillWebDataBackendImpl
const base::Time& delete_end,
WebDatabase* db);
- // Removes expired form elements recorded for Autocomplete from the database.
- WebDatabase::State RemoveExpiredFormElements(WebDatabase* db);
// Removes the Form-value |value| which has been entered in form input fields
// named |name| from the database.
@@ -137,6 +135,8 @@ class AutofillWebDataBackendImpl
friend class base::RefCountedThreadSafe<AutofillWebDataBackendImpl,
content::BrowserThread::DeleteOnDBThread>;
+ WebDatabase::State RemoveExpiredFormElementsImpl(WebDatabase* db);
+
// Callbacks to ensure that sensitive info is destroyed if request is
// cancelled.
void DestroyAutofillProfileResult(const WDTypedResult* result);

Powered by Google App Engine
This is Rietveld 408576698