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

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

Issue 12851008: Create a common base class for all the webdatas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on trunk and comments 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 dc80cb06cf0411d21aa6063a0027d05a4672ff66..2edae49185ac5460617b06f06b5140883e6af214 100644
--- a/chrome/browser/webdata/autofill_web_data_service_impl.h
+++ b/chrome/browser/webdata/autofill_web_data_service_impl.h
@@ -15,7 +15,6 @@ class WebDataService;
class AutofillWebDataServiceImpl : public AutofillWebDataService {
public:
explicit AutofillWebDataServiceImpl(scoped_refptr<WebDataService> service);
- virtual ~AutofillWebDataServiceImpl();
// AutofillWebData implementation.
virtual void AddFormFields(
@@ -39,9 +38,17 @@ class AutofillWebDataServiceImpl : public AutofillWebDataService {
virtual WebDataServiceBase::Handle
GetCreditCards(WebDataServiceConsumer* consumer) OVERRIDE;
- // WebDataServiceBase implementation.
+ // WebDataServiceBase overrides.
+ // TODO(caitkp): remove these when we decouple
+ // WebDatabaseService life cycle from WebData).
virtual void CancelRequest(Handle h) OVERRIDE;
virtual content::NotificationSource GetNotificationSource() OVERRIDE;
+ virtual bool IsDatabaseLoaded() OVERRIDE;
+ virtual WebDatabase* GetDatabase() OVERRIDE;
+
+
+ protected:
+ virtual ~AutofillWebDataServiceImpl();
private:
DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceImpl);

Powered by Google App Engine
This is Rietveld 408576698