Chromium Code Reviews| 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_API_WEBDATA_AUTOFILL_WEB_DATA_H_ | 5 #ifndef CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_H_ |
| 6 #define CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_H_ | 6 #define CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 // Schedules a task to remove a credit card from the web database. | 68 // Schedules a task to remove a credit card from the web database. |
| 69 // |guid| is identifer of the credit card to remove. | 69 // |guid| is identifer of the credit card to remove. |
| 70 virtual void RemoveCreditCard(const std::string& guid) = 0; | 70 virtual void RemoveCreditCard(const std::string& guid) = 0; |
| 71 | 71 |
| 72 // Initiates the request for all credit cards. The method | 72 // Initiates the request for all credit cards. The method |
| 73 // OnWebDataServiceRequestDone of |consumer| gets called when the request is | 73 // OnWebDataServiceRequestDone of |consumer| gets called when the request is |
| 74 // finished, with the credit cards included in the argument |result|. The | 74 // finished, with the credit cards included in the argument |result|. The |
| 75 // consumer owns the credit cards. | 75 // consumer owns the credit cards. |
| 76 virtual WebDataServiceBase::Handle | 76 virtual WebDataServiceBase::Handle |
| 77 GetCreditCards(WebDataServiceConsumer* consumer) = 0; | 77 GetCreditCards(WebDataServiceConsumer* consumer) = 0; |
| 78 | |
| 79 // Removes Autofill records from the database. | |
| 80 virtual void RemoveAutofillProfilesAndCreditCardsModifiedBetween( | |
| 81 const base::Time& delete_begin, const base::Time& delete_end) = 0; | |
| 82 | |
| 83 // Removes form elements recorded for Autocomplete from the database. | |
|
dhollowa
2013/03/25 21:50:38
Please move this up near top to group with the oth
Cait (Slow)
2013/03/26 14:29:23
Done.
| |
| 84 virtual void RemoveFormElementsAddedBetween( | |
| 85 const base::Time& delete_begin, const base::Time& delete_end) = 0; | |
| 78 }; | 86 }; |
| 79 | 87 |
| 80 #endif // CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_H_ | 88 #endif // CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_H_ |
| OLD | NEW |