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

Unified Diff: components/autofill/core/browser/credit_card.h

Issue 1926553002: Prompt for expiration date for local cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/core/browser/credit_card.h
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
index 606fc1f45d84cdd332d02a372cf8f6499e1f65fe..c7a87167c16bd757895c8afe999c53826f55e8be 100644
--- a/components/autofill/core/browser/credit_card.h
+++ b/components/autofill/core/browser/credit_card.h
@@ -89,6 +89,9 @@ class CreditCard : public AutofillDataModel {
void SetServerStatus(ServerStatus status);
ServerStatus GetServerStatus() const;
+ // Whether the card expiration date should be updated.
+ bool ShouldUpdateExpiration() const;
+
// FormGroup:
void GetMatchingTypes(const base::string16& text,
const std::string& app_locale,
« no previous file with comments | « no previous file | components/autofill/core/browser/credit_card.cc » ('j') | components/autofill/core/browser/credit_card.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698