Chromium Code Reviews| Index: components/autofill/core/browser/personal_data_manager.h |
| diff --git a/components/autofill/core/browser/personal_data_manager.h b/components/autofill/core/browser/personal_data_manager.h |
| index 165862f6217518bff5f95af87b69482ab26cafff..ecf81758b0424384c2beff15a4157aea83d4aca4 100644 |
| --- a/components/autofill/core/browser/personal_data_manager.h |
| +++ b/components/autofill/core/browser/personal_data_manager.h |
| @@ -220,6 +220,14 @@ class PersonalDataManager : public KeyedService, |
| const AutofillType& type, |
| const base::string16& field_contents); |
| + // Returns the date when the credit card was last used in autofill. Shows |
| + // expiration date if |show_expiration_date| is true, and shows time detail |
| + // if |show_time_detail| is true. |
| + base::string16 GetLastUsedDateForDisplay( |
|
jungshik at Google
2017/01/26 19:29:14
Does this need to be public? Can it be just a stat
jiahuiguo
2017/01/27 09:31:05
Done.
|
| + const CreditCard* credit_card, |
| + bool show_expiration_date, |
| + bool show_time_detail) const; |
| + |
| // Re-loads profiles and credit cards from the WebDatabase asynchronously. |
| // In the general case, this is a no-op and will re-create the same |
| // in-memory model as existed prior to the call. If any change occurred to |