| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ |
| 6 #define CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ | 6 #define CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "chrome/browser/api/webdata/autofill_web_data_service.h" | 9 #include "chrome/browser/api/webdata/autofill_web_data_service.h" |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 virtual WebDataServiceBase::Handle GetAutofillProfiles( | 34 virtual WebDataServiceBase::Handle GetAutofillProfiles( |
| 35 WebDataServiceConsumer* consumer) OVERRIDE; | 35 WebDataServiceConsumer* consumer) OVERRIDE; |
| 36 virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE; | 36 virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE; |
| 37 virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE; | 37 virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE; |
| 38 virtual void RemoveCreditCard(const std::string& guid) OVERRIDE; | 38 virtual void RemoveCreditCard(const std::string& guid) OVERRIDE; |
| 39 virtual WebDataServiceBase::Handle | 39 virtual WebDataServiceBase::Handle |
| 40 GetCreditCards(WebDataServiceConsumer* consumer) OVERRIDE; | 40 GetCreditCards(WebDataServiceConsumer* consumer) OVERRIDE; |
| 41 | 41 |
| 42 // WebDataServiceBase implementation. | 42 // WebDataServiceBase implementation. |
| 43 virtual void CancelRequest(Handle h) OVERRIDE; | 43 virtual void CancelRequest(Handle h) OVERRIDE; |
| 44 virtual content::NotificationSource GetNotificationSource() OVERRIDE; | 44 |
| 45 // AutofillWebDataService implementation. |
| 46 virtual void AddObserver(WebDataServiceObserver* observer) OVERRIDE; |
| 47 virtual void RemoveObserver(WebDataServiceObserver* observer) OVERRIDE; |
| 45 | 48 |
| 46 private: | 49 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceImpl); | 50 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceImpl); |
| 48 | 51 |
| 49 const scoped_refptr<WebDataService> service_; | 52 const scoped_refptr<WebDataService> service_; |
| 50 }; | 53 }; |
| 51 | 54 |
| 52 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ | 55 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ |
| OLD | NEW |